
/* ============================================
   TOP TABACO - REDISEÑO PROFESIONAL
   ============================================ */

:root {
    /* Colors */
    --primary: #D4A574; /* Gold/Tobacco */
    --primary-dark: #B8935F;
    --secondary: #1A1A1A; /* Dark Grey */
    --accent: #25D366; /* WhatsApp Green */
    --accent-hover: #128C7E;
    --text-dark: #1F1F1F;
    --text-light: #FFFFFF;
    --text-muted: #666666;
    --bg-light: #F9F9F9;
    --bg-white: #FFFFFF;
    --border: #E5E5E5;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing & Misc */
    --container: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 700; }
.subtitle { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    color: var(--primary); 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 14px; 
    margin-bottom: 10px; 
}
.section-icon { width: 20px; height: 20px; stroke-width: 2.5; }
.why-content .subtitle { justify-content: flex-start; }

/* Age Gate */
.age-gate {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--secondary); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; text-align: center; color: white;
}
.age-gate.hidden { display: none; }
.age-gate-content { max-width: 500px; }
.logo-large { font-size: 32px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--primary); }
.logo-large svg { width: 40px; fill: currentColor; }
.age-gate h2 { font-size: 28px; margin-bottom: 15px; }
.age-gate p { color: #ccc; margin-bottom: 30px; }
.age-gate-buttons { display: flex; gap: 15px; justify-content: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: var(--radius-md);
    font-weight: 600; cursor: pointer; border: none; font-size: 15px;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-large { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* WhatsApp Official Style */
.btn-whatsapp-official {
    background-color: #25D366 !important;
    color: white !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-official:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-official svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Announcement Bar */
.announcement-bar { 
    background: var(--secondary); 
    color: white; 
    padding: 10px 0; 
    text-align: center; 
    font-size: 13px; 
    font-weight: 700; 
    letter-spacing: 1px;
    position: relative;
    z-index: 1001;
}

/* Header */
.header {
    background: rgba(255,255,255,0.95); 
    padding: 12px 0;
    position: sticky; 
    top: 0; 
    z-index: 1000;
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--border);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 800; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.logo svg { width: 40px; height: 40px; fill: var(--primary); margin-right: 5px; }
.logo-large svg { width: 100px; height: 100px; fill: var(--primary); margin-bottom: 20px; }
.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.nav-desktop a:hover { color: var(--primary); }

/* Hero */
.hero {
    padding: 100px 0; position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/hero.webp');
    background-size: cover; background-position: center;
    color: white; text-align: center; min-height: 80vh;
    display: flex; align-items: center;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-badge { 
    display: inline-block; background: rgba(255,255,255,0.1); 
    backdrop-filter: blur(5px); padding: 8px 16px; 
    border-radius: 30px; font-size: 14px; font-weight: 600; 
    margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 { font-size: 56px; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 20px; margin-bottom: 40px; color: rgba(255,255,255,0.9); }
.hero-btns { display: flex; gap: 20px; justify-content: center; margin-bottom: 50px; }
.hero-features { display: flex; justify-content: center; gap: 40px; }
.h-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.h-icon { width: 24px; height: 24px; color: var(--primary); }

/* Stats */
.stats { padding: 40px 0; background: var(--secondary); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 5px; }
.stat-desc { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }

/* Section Title */
.section-title { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-title h2 { font-size: 36px; margin-bottom: 15px; }
.section-title p { color: var(--text-muted); }

/* Products */
.products { padding: 100px 0; background: var(--bg-light); }
.product-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; }
.tab-btn { 
    padding: 12px 24px; border-radius: 30px; border: 1px solid var(--border);
    background: white; cursor: pointer; font-weight: 600; transition: var(--transition);
}
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.product-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-grid.active { display: grid; }
.product-card { 
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    position: relative; border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.product-card.featured { border: 2px solid var(--primary); }
.p-badge { 
    position: absolute; top: 15px; right: 15px;
    background: var(--primary); color: white; padding: 5px 12px;
    border-radius: 20px; font-size: 12px; font-weight: 700; z-index: 2;
}
.p-img { height: 250px; background: #eee; overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-info { padding: 30px; text-align: center; }
.p-info h3 { font-size: 20px; margin-bottom: 10px; }
.p-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.p-price { font-size: 28px; font-weight: 800; color: var(--secondary); margin-bottom: 25px; }
.p-price span { display: block; font-size: 13px; color: var(--primary); font-weight: 600; }

/* Why Us */
.why-us { padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.feature-list { margin-top: 40px; }
.f-item { display: flex; gap: 20px; margin-bottom: 30px; }
.f-icon { 
    width: 54px; height: 54px; background: white; 
    border-radius: 12px; display: flex; align-items: center; 
    justify-content: center; flex-shrink: 0;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    color: var(--primary);
}
.f-icon svg { width: 28px; height: 28px; }
.f-text h4 { font-size: 18px; margin-bottom: 5px; }
.f-text p { font-size: 14px; color: var(--text-muted); }
.why-image { position: relative; }
.why-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.experience-badge {
    position: absolute; bottom: -30px; left: -30px;
    background: var(--primary); color: white; padding: 25px;
    border-radius: var(--radius-md); text-align: center;
}
.experience-badge span { display: block; font-size: 32px; font-weight: 800; line-height: 1; }

/* Reseñas Styles */
.resenas-carousel-container {
    overflow: hidden;
    width: 100%;
}

.resenas-track {
    display: flex;
    width: max-content;
}

.resena-card {
    flex-shrink: 0;
    width: 350px;
    margin-right: 30px;
}

/* FAQ */
.faq { padding: 100px 0; background: var(--bg-light); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: var(--radius-md); margin-bottom: 15px; border: 1px solid var(--border); overflow: hidden; }
.faq-question { 
    padding: 20px 25px; cursor: pointer; font-weight: 700; 
    display: flex; justify-content: space-between; align-items: center;
}
.faq-toggle { 
    width: 20px; height: 20px; position: relative; transition: var(--transition);
}
.faq-toggle::before, .faq-toggle::after {
    content: ''; position: absolute; background: var(--primary);
}
.faq-toggle::before { width: 100%; height: 2px; top: 9px; left: 0; }
.faq-toggle::after { width: 2px; height: 100%; top: 0; left: 9px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 25px 20px; color: var(--text-muted); font-size: 15px; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question span { transform: rotate(45deg); }

/* CTA */
.cta { padding: 100px 0; }
.cta-box { 
    background: var(--secondary); color: white; padding: 80px 40px; 
    border-radius: var(--radius-lg); text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/img/hero.webp');
    background-size: cover; background-position: center;
}
.cta-box h2 { font-size: 42px; margin-bottom: 20px; }
.cta-box p { font-size: 18px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; color: #ccc; }

/* Footer */
.footer { padding: 80px 0 40px; background: #0A0A0A; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; margin-bottom: 60px; }
.footer h4 { color: var(--primary); margin-bottom: 25px; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.footer p { color: #888; font-size: 14px; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: #888; font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid #222; color: #555; font-size: 13px; }

/* Floating WhatsApp */
.floating-wa {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; background: var(--accent);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
}
.floating-wa svg { width: 30px; fill: white; }
.floating-wa:hover { transform: scale(1.1); background: var(--accent-hover); }

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-features { flex-direction: column; gap: 15px; align-items: center; }
    .hero h1 { font-size: 36px; }
    .cta-box h2 { font-size: 32px; }
}

/* Estilos para la descripción extensa */
.ventajas-descripcion-extensa p strong {
    color: var(--secondary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .ventajas-descripcion-extensa {
        padding: 0 20px;
        text-align: left !important;
    }
}
