/* ================================================================
   CARIBE FUTURA MARKETPLACE - CSS COMPLETO (VERSIÓN MARCA)
   Color principal: #0033cc (azul profundo del logo)
   Fondo: blanco azulado suave (#E8F0FE)
   Paleta complementaria: Azul cielo #3498DB, Naranja #F39C12,
   Amarillo sol #F1C40F, Verde limón #2ECC71
   ================================================================ */

:root {
    --turquoise: #0033cc;          /* Color principal del logo */
    --coral: #F39C12;              /* Naranja caribe */
    --sun-yellow: #F1C40F;         /* Amarillo sol */
    --lime: #2ECC71;               /* Verde limón */
    --electric-blue: #3498DB;      /* Azul cielo */
    --dark: #E8F0FE;               /* Fondo blanco azulado suave */
    --dark-lighter: #FFFFFF;       /* Blanco puro para tarjetas */
    --dark-card: #FFFFFF;          /* Tarjetas blancas */
    --dark-hover: #F0F4F8;         /* Hover gris azulado claro */
    --text-primary: #1E2A3A;       /* Texto principal oscuro */
    --text-secondary: #5A6C7E;     /* Texto secundario */
    --text-muted: #8A9BB0;         /* Texto tenue */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --neon-glow: 0 0 15px rgba(0, 51, 204, 0.3);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ========== FADE-IN BODY ========== */
body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    padding-top: 70px;
}
body.loaded {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

/* ========== FADE-IN SCROLL ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm);
    font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
    letter-spacing: 0.5px; border: 2px solid transparent; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--turquoise), var(--electric-blue));
    color: white; border-color: transparent;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 51, 204, 0.3); filter: brightness(1.02); }
.btn-outline {
    background: transparent; color: var(--turquoise); border-color: var(--turquoise);
}
.btn-outline:hover { background: var(--turquoise); color: white; box-shadow: var(--neon-glow); }
.btn-secondary {
    background: var(--dark-card); color: var(--text-primary); border-color: var(--electric-blue);
}
.btn-secondary:hover { border-color: var(--coral); color: var(--coral); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-full { width: 100%; }
.btn-disabled {
    background: var(--dark-hover); color: var(--text-muted); cursor: not-allowed; opacity: 0.6;
}

/* ---------- Secciones ---------- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; background: rgba(0, 51, 204, 0.1);
    border: 1px solid rgba(0, 51, 204, 0.3); border-radius: 50px;
    color: var(--turquoise); font-family: var(--font-heading); font-weight: 600;
    font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--turquoise), var(--sun-yellow), var(--coral));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 12px; line-height: 1.2;
}
.section-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 14px 0; transition: all 0.4s ease; background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); padding: 10px 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text-primary);
}
.logo-accent {
    background: linear-gradient(135deg, var(--coral), var(--sun-yellow));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-img { height: 40px; width: auto; }

/* Search */
.nav-search { position: relative; flex: 1; max-width: 400px; margin: 0 20px; }
.nav-search input {
    width: 100%; padding: 10px 16px 10px 40px;
    background: var(--dark-card); border: 1px solid var(--electric-blue);
    border-radius: 50px; color: var(--text-primary); font-family: var(--font-body);
    outline: none; transition: all 0.3s ease;
}
.nav-search input:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(0, 51, 204, 0.1); }
.nav-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-results {
    position: absolute; top: calc(100% + 8px); left: 0; width: 100%;
    background: var(--dark-card); border: 1px solid var(--electric-blue);
    border-radius: var(--radius-md); box-shadow: var(--card-shadow); z-index: 100;
    display: none; max-height: 400px; overflow-y: auto;
}
.search-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    border-bottom: 1px solid var(--electric-blue); transition: background 0.2s;
}
.search-item:hover { background: var(--dark-hover); }
.search-item img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; }
.search-item div { display: flex; flex-direction: column; }
.search-item strong { font-family: var(--font-heading); color: var(--text-primary); font-size: 0.95rem; }
.search-item small { color: var(--text-muted); font-size: 0.8rem; }
.search-empty { padding: 20px; text-align: center; color: var(--text-muted); }

/* Nav menu */
.nav-menu { display: flex; gap: 8px; align-items: center; }
.nav-link {
    font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem;
    padding: 8px 14px; border-radius: var(--radius-sm); color: var(--text-secondary);
    position: relative; transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--turquoise); background: rgba(0, 51, 204, 0.1); }
.nav-cart {
    position: relative; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--dark-card); border-radius: 50%; color: var(--turquoise);
    border: 1px solid var(--electric-blue); transition: all 0.3s;
}
.nav-cart:hover { background: var(--turquoise); color: white; }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    width: 20px; height: 20px; background: var(--coral); color: white;
    border-radius: 50%; font-size: 0.7rem; font-weight: 700;
    display: none; align-items: center; justify-content: center;
    font-family: var(--font-heading);
}

/* Mobile toggle */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001;
}
.hamburger { display: block; width: 26px; height: 3px; background: var(--turquoise); border-radius: 3px; transition: all 0.3s; }
.nav-toggle.active .hamburger:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .hamburger:nth-child(2) { opacity: 0; }
.nav-toggle.active .hamburger:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
    min-height: auto;          /* Elimina el mínimo de altura completa */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 24px 60px;   /* Ajusta el espacio superior/inferior */
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, rgba(0, 51, 204, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(243, 156, 18, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
                var(--dark);
}
.hero::before, .hero::after {
    content: ''; position: absolute; width: 300px; height: 300px;
    border-radius: 50%; filter: blur(80px); opacity: 0.2;
    animation: float-particle 15s ease-in-out infinite;
}
.hero::before { background: var(--turquoise); top: 20%; left: 10%; }
.hero::after { background: var(--coral); bottom: 20%; right: 10%; animation-delay: -7s; }
@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.2); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; animation: fade-in-up 1s ease-out; }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; background: rgba(241, 196, 15, 0.1);
    border: 1px solid var(--sun-yellow); border-radius: 50px;
    color: var(--sun-yellow); font-family: var(--font-heading); font-weight: 600;
    font-size: 0.875rem; margin-bottom: 24px;
    animation: glow-badge 2s ease-in-out infinite alternate;
}
@keyframes glow-badge { from { box-shadow: 0 0 5px rgba(241, 196, 15, 0.3); } to { box-shadow: 0 0 20px rgba(241, 196, 15, 0.6); } }
.hero-title { font-family: var(--font-display); margin-bottom: 20px; line-height: 1.1; }
.neon-text {
    display: block; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; color: var(--turquoise);
    text-shadow: 0 0 10px rgba(0, 51, 204, 0.5), 0 0 20px rgba(0, 51, 204, 0.3);
    animation: neon-flicker 3s ease-in-out infinite alternate;
}
@keyframes neon-flicker { 0%, 100% { opacity: 1; } 50% { opacity: 0.95; } 52% { opacity: 0.8; } 54% { opacity: 1; } }
.hero-subtitle { display: block; font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 400; color: var(--text-secondary); margin-top: 8px; letter-spacing: 2px; text-transform: uppercase; }
.hero-description { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 900;
    background: linear-gradient(135deg, var(--sun-yellow), var(--coral)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { display: block; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ========== CATEGORÍAS (Home) ========== */
.categories { padding: 80px 0; background: linear-gradient(180deg, var(--dark) 0%, #ffffff 100%); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card {
    background: var(--dark-card); border: 1px solid var(--electric-blue);
    border-radius: var(--radius-md); padding: 28px 16px; text-align: center;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden;
}
.category-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--cat-color, var(--turquoise)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover { transform: translateY(-6px); border-color: var(--turquoise); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.category-icon {
    width: 52px; height: 52px; margin: 0 auto 12px;
    background: var(--cat-color, var(--turquoise)); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white;
    transition: all 0.3s ease;
}
.category-card:hover .category-icon { transform: scale(1.1); box-shadow: 0 0 20px var(--cat-color); }
.category-name { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--text-primary); margin-bottom: 4px; }

/* ========== NEGOCIOS (Home Grid) ========== */
.negocios-section { padding: 80px 0; background: var(--dark); }
.negocios-grid { display: grid; gap: 24px; }
.negocio-card {
    background: var(--dark-card); border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--electric-blue); transition: all 0.4s ease; display: block;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.05);
}
.negocio-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow); border-color: var(--turquoise); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.05); }
.negocio-banner {
    height: 140px; background-size: cover; background-position: center; position: relative;
}
.negocio-overlay {
    position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, white 100%);
}
.negocio-logo {
    width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
    border: 3px solid white; position: absolute; bottom: -30px; left: 20px;
    background: white; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.negocio-info { padding: 40px 20px 20px; }
.negocio-info h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 4px; }
.negocio-slogan { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }
.negocio-meta {
    display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px;
}
.negocio-meta i { color: var(--sun-yellow); margin-right: 4px; }
.negocio-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.negocio-tags span {
    padding: 4px 10px; background: var(--dark-hover); border-radius: 50px;
    font-size: 0.75rem; color: var(--text-secondary);
}

/* ========== PRODUCT CARDS ========== */
.products-grid { display: grid; gap: 20px; }
.product-card {
    background: var(--dark-card); border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--electric-blue); transition: all 0.4s ease; position: relative; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.05);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); border-color: var(--turquoise); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.05); }
.product-image { position: relative; height: 190px; overflow: hidden; background: var(--dark-hover); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.08); }

/* Badges */
.card-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 5px 12px; border-radius: 50px;
    font-family: var(--font-heading); font-weight: 600; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 4px; z-index: 2;
}
.badge-trending { background: linear-gradient(135deg, var(--coral), var(--sun-yellow)); color: white; }
.badge-new { background: linear-gradient(135deg, #F9CA24, #F39C12); color: white; }
.badge-offer { background: linear-gradient(135deg, #E74C3C, #FF6B81); color: white; }
.badge-agotado { background: var(--dark-hover); color: var(--text-muted); border: 1px solid var(--electric-blue); }

.card-discount {
    position: absolute; top: 10px; right: 10px;
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #2ECC71, #58D68D);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.4);
}
.like-btn {
    position: absolute; bottom: 10px; right: 10px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(5px);
    border: 1px solid var(--electric-blue); color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; z-index: 5;
}
.like-btn:hover { background: #e84393; transform: scale(1.1); color: white; }
.like-btn.liked { background: #e84393; color: white; border-color: #e84393; }
.like-btn .like-count {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.product-content { padding: 16px; }
.product-negocio {
    font-size: 0.78rem; color: var(--turquoise); text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 6px; display: flex; align-items: center; gap: 4px;
}
.product-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.3; }
.product-title a:hover { color: var(--turquoise); }
.product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-price .current { font-size: 1.15rem; font-weight: 700; color: var(--coral); }
.product-price .old { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; font-weight: 400; }

.btn-add-cart {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise), var(--electric-blue));
    display: flex; align-items: center; justify-content: center; color: white;
    cursor: pointer; transition: all 0.3s ease; border: none;
}
.btn-add-cart:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(0, 51, 204, 0.5); }
.btn-add-cart.btn-disabled,
.btn-add-cart:disabled {
    background: var(--dark-hover);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
    pointer-events: none;
}

/* ========== TRENDING / OFERTAS / SECTIONS ========== */
.trending-section, .ofertas-section { padding: 80px 0; }
.trending-section { background: linear-gradient(180deg, #ffffff 0%, var(--dark) 100%); }
.ofertas-section { background: var(--dark); }

/* ========== NEGOCIO PAGE ========== */
.negocio-header {
    height: 320px; background-size: cover; background-position: center;
    position: relative; margin-top: 60px;
}
.negocio-header-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(232,240,254,0.9) 100%);
}
.negocio-header-content {
    position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 24px;
    padding-bottom: 40px; height: 100%;
}
.negocio-header-logo {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    border: 4px solid white; box-shadow: 0 8px 30px rgba(0,0,0,0.1); background: white;
}
.negocio-header-info { flex: 1; }
.negocio-header-cat {
    display: inline-block; padding: 4px 14px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: white; margin-bottom: 8px;
}
.negocio-header-info h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 6px; }
.negocio-header-slogan { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 12px; }
.negocio-header-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.negocio-header-meta i { color: var(--sun-yellow); }
.negocio-header-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.negocio-header-actions .tag {
    padding: 6px 14px; background: rgba(255,255,255,0.9); backdrop-filter: blur(5px);
    border-radius: 50px; font-size: 0.8rem; color: var(--text-primary); display: flex; align-items: center; gap: 6px;
}
.negocio-tabs {
    display: flex; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--electric-blue);
    overflow-x: auto; margin-bottom: 30px;
}
.tab-btn {
    padding: 10px 24px; background: transparent; border: 1px solid var(--electric-blue);
    border-radius: 50px; color: var(--text-secondary); font-family: var(--font-heading);
    font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; white-space: nowrap;
}
.tab-btn:hover { border-color: var(--turquoise); color: var(--turquoise); }
.tab-btn.active { background: linear-gradient(135deg, var(--turquoise), var(--electric-blue)); color: white; border-color: transparent; }
.negocio-content { padding: 40px 0 80px; }
.info-card {
    background: var(--dark-card); border: 1px solid var(--electric-blue);
    border-radius: var(--radius-md); padding: 24px; margin-bottom: 20px;
}
.info-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--turquoise); }
.info-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Mapa en negocio */
.mapa-container {
    margin-top: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--electric-blue);
}
.mapa-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* ========== CARRITO PAGE ========== */
.cart-page { padding: 100px 0 80px; }
.cart-page h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 30px; }
.cart-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
.cart-empty {
    text-align: center; padding: 60px 20px; background: var(--dark-card);
    border-radius: var(--radius-md); border: 1px solid var(--electric-blue);
}
.cart-empty i { font-size: 3rem; color: var(--text-muted); margin-bottom: 16px; }
.cart-empty h3 { font-family: var(--font-heading); margin-bottom: 8px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 20px; }
.cart-item {
    display: grid; grid-template-columns: 80px 1fr auto auto; gap: 16px;
    align-items: center; padding: 16px; background: var(--dark-card);
    border: 1px solid var(--electric-blue); border-radius: var(--radius-md); margin-bottom: 12px;
}
.cart-item img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-item-info h4 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 4px; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; }
.qty-control {
    display: flex; align-items: center; background: var(--dark-hover);
    border-radius: var(--radius-sm); overflow: hidden;
}
.qty-btn {
    width: 32px; height: 32px; background: none; border: none; color: var(--text-primary);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: rgba(0,0,0,0.05); }
.qty-value { width: 36px; text-align: center; font-family: var(--font-heading); font-size: 0.95rem; }
.cart-item-remove {
    width: 36px; height: 36px; border-radius: 50%;
    background: none; border: 1px solid var(--electric-blue);
    color: var(--text-muted); cursor: pointer; transition: all 0.3s;
}
.cart-item-remove:hover { background: rgba(243, 156, 18, 0.1); color: var(--coral); border-color: var(--coral); }
.cart-item-total { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary); text-align: right; }
.cart-summary {
    background: var(--dark-card); border: 1px solid var(--electric-blue);
    border-radius: var(--radius-md); padding: 24px; position: sticky; top: 100px;
}
.cart-summary h3 { font-family: var(--font-heading); margin-bottom: 20px; font-size: 1.2rem; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--text-secondary); font-size: 0.95rem; }
.summary-total { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); padding-top: 12px; border-top: 1px solid var(--electric-blue); margin-top: 12px; margin-bottom: 20px; }
.summary-total span:last-child { font-family: var(--font-display); color: var(--sun-yellow); font-size: 1.3rem; }
.summary-note { font-size: 0.8rem; color: var(--lime); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }

/* ========== FOOTER ========== */
.footer { padding: 50px 0 20px; background: var(--dark-lighter); border-top: 1px solid var(--electric-blue); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; align-items: start; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img { height: 35px; width: auto; }
.footer-logo span { background: linear-gradient(135deg, var(--coral), var(--sun-yellow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-links h4 { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--text-primary); margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: var(--text-muted); font-size: 0.9rem; transition: all 0.3s; }
.footer-links ul li a:hover { color: var(--turquoise); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid var(--electric-blue); padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-bottom .fa-heart { color: var(--coral); animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background-color: #25d366; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b859;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
}
.wave {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0;
    pointer-events: none;
    animation: pulse-wave 1.5s infinite;
}
@keyframes pulse-wave {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ========== TESTIMONIOS ========== */
.testimonios-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-lighter) 0%, var(--dark) 100%);
}
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.testimonio-card {
    background: var(--dark-card);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--electric-blue);
    transition: all 0.3s ease;
}
.testimonio-card:hover {
    transform: translateY(-5px);
    border-color: var(--turquoise);
}
.testimonio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.testimonio-usuario {
    font-weight: 600;
    color: var(--turquoise);
}
.testimonio-rating {
    color: var(--sun-yellow);
    font-size: 0.9rem;
}
.testimonio-texto {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
}
.testimonio-producto {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--electric-blue);
    padding-top: 8px;
    margin-top: 8px;
}
.testimonio-fecha {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
}
.testimonio-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--dark-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--electric-blue);
}
.testimonio-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonio-form select,
.testimonio-form input,
.testimonio-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--dark-hover);
    border: 1px solid var(--electric-blue);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

/* ========== SECCIÓN SOLICITUD ========== */
.solicitud-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}
.ofertas-solicitud {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.offer-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid var(--electric-blue);
}
.offer-card:hover {
    transform: translateY(-5px);
    border-color: var(--turquoise);
}
.offer-card i { font-size: 2rem; margin-bottom: 10px; }
.offer-card h3 { font-family: var(--font-heading); margin: 10px 0 5px; }
.offer-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 10px; }
.offer-card strong { color: var(--sun-yellow); font-size: 1.1rem; }
.contacto-form-wrapper {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--electric-blue);
}
.contacto-form-wrapper .form-group { margin-bottom: 20px; }
.contacto-form-wrapper label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-secondary); }
.contacto-form-wrapper input,
.contacto-form-wrapper select,
.contacto-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    background: var(--dark-hover);
    border: 1px solid var(--electric-blue);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}
.motivador-texto {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--turquoise);
    font-style: italic;
    border-top: 1px solid var(--electric-blue);
    padding-top: 15px;
}
/* ========== SOLICITUD (SECCIÓN OSCURA) - COLORES ESPECÍFICOS ========== */
.contacto-negocios .section-tag {
    color: var(--lime);                    /* Verde limón */
    border-color: rgba(46, 204, 113, 0.3); /* Borde verde suave */
    background: rgba(46, 204, 113, 0.1);   /* Fondo verde muy tenue */
}

.contacto-negocios .section-desc {
    color: var(--coral);                   /* Naranja coral */
}

/* ========== GRID RESPONSIVO ========== */
@media (min-width: 992px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .negocios-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .negocios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .negocios-grid { grid-template-columns: 1fr !important; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh;
        background: white; flex-direction: column; padding: 80px 24px 24px; gap: 8px;
        transition: right 0.4s ease; border-left: 1px solid var(--electric-blue); z-index: 1000;
    }
    .nav-menu.active { right: 0; }
    .nav-link { width: 100%; padding: 14px 16px; font-size: 1.05rem; }
    .nav-search { display: none; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.8rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cart-item { grid-template-columns: 60px 1fr; gap: 12px; }
    .cart-item-actions { grid-column: 2; justify-content: flex-start; }
    .cart-item-total { grid-column: 2; text-align: left; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .negocio-header { height: 250px; }
    .negocio-header-logo { width: 90px; height: 90px; }
    .negocio-header-info h1 { font-size: 1.5rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.6rem; }
    .testimonios-grid { grid-template-columns: 1fr; }
    .testimonio-form .form-row { flex-direction: column; gap: 12px; }
    .solicitud-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .ofertas-solicitud { order: 2; }
    .contacto-form-wrapper { order: 1; }
    .cart-wrapper { grid-template-columns: 1fr; }
    .cart-summary { position: relative; top: 0; }
}
@media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

/* ========== UTILIDADES Y SCROLLBAR ========== */
.empty-grid { text-align: center; padding: 40px; color: var(--text-muted); grid-column: 1 / -1; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--electric-blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--turquoise); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
*:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 2px; }

/* ========== FOOTER MEJORADO ========== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer-brand {
    text-align: left;
}
.footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 20px;
}
.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--dark-hover);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social .social-icon:hover {
    background: var(--turquoise);
    color: white;
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-brand {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-links ul {
        padding-left: 0;
    }
}

/* ========== FILTROS ========== */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.filter-btn {
    background: var(--dark-card);
    border: 1px solid var(--electric-blue);
    border-radius: 60px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    letter-spacing: 0.3px;
}
.filter-btn:hover {
    border-color: var(--turquoise);
    color: var(--turquoise);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 204, 0.2);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--turquoise), var(--electric-blue));
    border-color: transparent;
    color: white;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(0, 51, 204, 0.5);
}
@media (max-width: 768px) {
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
}

/* ========== INDICADOR DE ESTADO ========== */
.estado-indicador {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 40px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
}
.estado-indicador.abierto {
    color: #2ecc71;
}
.estado-indicador.cerrado {
    color: #e74c3c;
}
.estado-indicador i {
    font-size: 0.7rem;
}
.estado-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
    font-family: var(--font-heading);
}
.estado-badge.abierto {
    background: #2ecc71;
    color: white;
}
.estado-badge.cerrado {
    background: #e74c3c;
    color: white;
}

/* Estilos para comentarios en negocio */
.comentario-item {
    background: var(--dark-card);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--electric-blue);
}
.comentario-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.comentario-rating i {
    color: var(--sun-yellow);
}
.comentario-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

/* ========== MODAL ========== */
.product-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); z-index: 1; }
.modal-container { position: relative; width: 90%; max-width: 1100px; max-height: 85vh; background: white; border-radius: var(--radius-lg); overflow-y: auto; z-index: 2; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); border: 1px solid var(--turquoise); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; z-index: 3; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border: none; color: white; font-size: 2rem; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; }
.modal-nav.prev { left: 20px; }
.modal-nav.next { right: 20px; }
.modal-producto { display: flex; flex-wrap: wrap; gap: 30px; padding: 30px; }
.modal-imagen { flex: 1; min-width: 250px; position: relative; }
.modal-imagen img { width: 100%; border-radius: var(--radius-md); }
.modal-detalles { flex: 1.5; }
.modal-negocio { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.modal-negocio-logo { width: 40px; height: 40px; border-radius: 50%; }
.modal-titulo { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 10px; }
.modal-rating { margin-bottom: 15px; color: var(--sun-yellow); }
.modal-precios .current { font-size: 1.8rem; font-weight: bold; color: var(--coral); }
.modal-precios .old { font-size: 1.2rem; text-decoration: line-through; color: var(--text-muted); margin-left: 10px; }
.modal-actions { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.modal-actions .qty-selector { display: flex; background: var(--dark-hover); border-radius: var(--radius-sm); }
.modal-actions .qty-selector button { width: 32px; height: 32px; background: none; border: none; color: var(--text-primary); cursor: pointer; }
.modal-actions .qty-selector input { width: 50px; text-align: center; background: none; border: none; color: var(--text-primary); }
.relacionados-grid { display: flex; gap: 15px; overflow-x: auto; padding: 20px; border-top: 1px solid var(--electric-blue); }
.relacionado-item { flex: 0 0 120px; text-align: center; cursor: pointer; }
.relacionado-item img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.relacionado-nombre { font-size: 0.8rem; font-weight: bold; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 768px) { .modal-producto { flex-direction: column; padding: 20px; } .modal-nav { width: 40px; height: 40px; font-size: 1.5rem; } }

/* Estilos valoraciones */
.comentario-card {
    background: var(--dark-card);
    border: 1px solid var(--electric-blue);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.comentario-card:hover {
    border-color: var(--turquoise);
    transform: translateY(-3px);
}
.comentario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.comentario-usuario {
    font-weight: 600;
    color: var(--turquoise);
    font-size: 1rem;
}
.comentario-usuario i {
    margin-right: 6px;
}
.comentario-fecha {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.comentario-rating {
    margin-bottom: 12px;
}
.comentario-rating i {
    margin-right: 2px;
    font-size: 0.9rem;
}
.rating-number {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.comentario-texto {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}
.comentario-form-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--electric-blue);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 30px;
}
.comentario-form-wrapper h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--turquoise);
    display: flex;
    align-items: center;
    gap: 10px;
}
.comentario-form .form-group {
    margin-bottom: 20px;
}
.comentario-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
}
.comentario-form input,
.comentario-form select,
.comentario-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--dark-hover);
    border: 1px solid var(--electric-blue);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
}
.comentario-form button {
    width: 100%;
}
.comentario-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Estilos específicos para la sección de planes */
.offer-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid var(--electric-blue);
    margin-bottom: 20px;
}
.offer-card:hover {
    transform: translateY(-5px);
    border-color: var(--turquoise);
}
.plan-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.plan-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0;
    flex: 1;
}
.plan-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--coral);
}
.plan-price small {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.plan-details p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.plan-details strong {
    color: var(--turquoise);
}
.plan-note {
    font-style: italic;
    color: var(--electric-blue);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--electric-blue);
}
/* ===== CORRECCIÓN PARA MÓVIL: título y precio en una línea ===== */
@media (max-width: 768px) {
    .plan-header {
        flex-direction: row !important;      /* Fuerza fila horizontal */
        flex-wrap: nowrap !important;        /* Evita que el precio se vaya abajo */
        gap: 6px !important;
        text-align: left !important;
    }
    .plan-header h3 {
        font-size: 1.2rem !important;
        flex-shrink: 1;
        min-width: 0;
    }
    .plan-price {
        font-size: 1.3rem !important;
        padding: 2px 8px !important;
        white-space: nowrap !important;
        margin-left: auto !important;
    }
    .offer-card {
        text-align: left;
    }
}
.solicitud-wrapper {
    align-items: start;
}
.contacto-form-wrapper {
    align-self: start;
}
.motivador-texto {
    margin-top: 20px;
    text-align: center;
}

/* ============================================================
   BLOQUE DE BIENVENIDA + CARRUSEL (verde limón y separación)
   ============================================================ */

.promo-bienvenida {
    margin-top: 60px;
    padding: 20px 0 10px;
}

/* Tag "Impulsa tu negocio" en verde limón */
.promo-bienvenida .promo-tag {
    color: #2ECC71;
    border-color: rgba(46, 204, 113, 0.3);
    background: rgba(46, 204, 113, 0.1);
}

.promo-bienvenida .promo-tag i {
    color: #2ECC71;
}

.promo-bienvenida .section-desc {
    color: var(--text-secondary);
}

/* ===== CONTADORES DE VISITAS ===== */
.stat-item-visitas {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.stat-item-visitas .stat-number {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item-visitas .stat-label {
    color: #2ECC71;
    font-weight: 600;
}

/* Ajuste en móvil para que los contadores de visitas ocupen 2 columnas y se distingan */
@media (max-width: 768px) {
    .hero-stats {
        gap: 12px 16px;
    }
    .stat-item {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
        text-align: center;
    }
    .stat-item-visitas {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
        margin-top: 8px;
        background: rgba(46, 204, 113, 0.12);
        border-color: rgba(46, 204, 113, 0.3);
    }
}

/* ============================================================
   CARRUSEL PROMOCIONAL - DEFINITIVO (800x600 = 4:3)
   ============================================================ */

.promo-carousel {
    padding: 20px 0 40px;
    background: transparent;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;               /* Relación exacta de tus imágenes 800x600 */
    background: #1a1a2e;               /* Color de fondo para los bordes */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;            /* En PC/tablet: llena sin bordes */
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    padding: 40px 50px;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* ===== SOMBRA OSCURA PARA LEGIBILIDAD ===== */
.carousel-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        transparent 100%
    );
    pointer-events: none;
}

.carousel-slide .slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0;
}

.carousel-slide h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    margin-bottom: 12px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.carousel-slide p {
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    opacity: 0.95;
    margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    max-width: 500px;
}

/* ===== BOTÓN VERDE LIMÓN ===== */
.carousel-slide .btn-slide {
    display: inline-block;
    padding: 14px 34px;
    background: rgba(46, 204, 113, 0.9);
    backdrop-filter: blur(4px);
    color: white;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.15);
    letter-spacing: 0.5px;
}
.carousel-slide .btn-slide:hover {
    background: rgba(46, 204, 113, 1);
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== FLECHAS ===== */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 5;
    pointer-events: none;
}

.carousel-btn {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}
.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #1E2A3A;
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== PUNTOS ===== */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.carousel-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* ============================================================
   RESPONSIVE: MÓVIL Y TABLET
   ============================================================ */

@media (max-width: 1024px) {
    .carousel-slide {
        padding: 30px 40px;
    }
    .carousel-slide .slide-overlay {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .carousel-slides {
        aspect-ratio: 4 / 3;          /* Se mantiene 4:3 */
    }

    .carousel-slide {
        padding: 25px 30px;
        justify-content: flex-start;
        text-align: left;
        /* CLAVE: En móvil cambiamos a "contain" para que se vea el 100% del ancho */
        background-size: contain !important;
        background-color: #1a1a2e;    /* Fondo oscuro para los bordes que sobran */
        background-position: center center;
    }

    .carousel-slide .slide-overlay {
        width: 85%;
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.3) 60%,
            transparent 100%
        );
    }

    .carousel-slide h2 {
        font-size: 1.6rem;
    }

    .carousel-slide p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .carousel-slide .btn-slide {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.05);
    }
    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.8);
    }

    .carousel-dots {
        bottom: 14px;
        gap: 10px;
    }
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-slides {
        aspect-ratio: 4 / 3;          /* Se mantiene 4:3 */
    }

    .carousel-slide {
        padding: 20px 20px;
        background-size: contain !important; /*  Confirmamos "contain" en móvil pequeño */
        background-color: #1a1a2e;
        background-position: center center;
    }

    .carousel-slide .slide-overlay {
        width: 95%;
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 70%,
            transparent 100%
        );
    }

    .carousel-slide h2 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .carousel-slide p {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    .carousel-slide .btn-slide {
        padding: 8px 18px;
        font-size: 0.75rem;
        border-radius: 40px;
    }

    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        opacity: 0.3;
    }
    .carousel-btn:hover {
        opacity: 0.8;
    }

    .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
}