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

: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; overflow-x: hidden; }
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
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; line-height: 1.2; }
.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; }

/* 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;
    text-align: center;
}
.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);
}

/* Botón Flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

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

/* Header */
.header {
    background: rgba(255,255,255,0.95); 
    padding: 10px 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: 18px; font-weight: 800; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.nav-desktop { display: flex; gap: 20px; }
.nav-desktop a { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.nav-desktop a:hover { color: var(--primary); }

/* Hero */
.hero {
    padding: 80px 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: 70vh;
    display: flex; align-items: center;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; width: 100%; }
.hero-badge { 
    display: inline-block; background: rgba(255,255,255,0.1); 
    backdrop-filter: blur(5px); padding: 8px 16px; 
    border-radius: 30px; font-size: 13px; font-weight: 600; 
    margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 { font-size: clamp(32px, 8vw, 56px); line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: clamp(16px, 4vw, 20px); margin-bottom: 35px; color: rgba(255,255,255,0.9); padding: 0 10px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.hero-features { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.h-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.h-icon { width: 20px; height: 20px; color: var(--primary); }

/* Ventajas */
.ventajas { padding: 80px 0; background: var(--bg-white); }
.ventajas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.v-card { background: var(--bg-light); padding: 40px; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.v-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.v-icon { width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.v-icon svg { width: 24px; height: 24px; }

/* Section Title */
.section-title { text-align: center; max-width: 800px; margin: 0 auto 50px; padding: 0 15px; }
.section-title h2 { font-size: clamp(28px, 5vw, 36px); margin-bottom: 15px; }
.section-title p { color: var(--text-muted); font-size: 16px; }

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

.tab-content { display: none; }
.tab-content.active { display: block; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.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);
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); 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: 11px; font-weight: 700; z-index: 2;
}
.p-image { height: 250px; overflow: hidden; background: #f0f0f0; }
.p-image img { width: 100%; height: 100%; object-fit: cover; }
.p-info { padding: 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.p-info h3 { font-size: 19px; margin-bottom: 10px; }
.p-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.p-price { font-size: 26px; font-weight: 800; color: var(--secondary); margin-bottom: 20px; }
.p-price span { display: block; font-size: 13px; color: var(--primary); font-weight: 600; }

/* Reseñas */
.resenas { padding: 80px 0; background: var(--bg-white); overflow: hidden; }
.resenas-carousel-container { position: relative; margin: 50px 0; overflow: hidden; }
.resenas-track { display: flex; gap: 30px; transition: transform 0.5s ease-in-out; }
.resena-card { flex-shrink: 0; width: 350px; background: var(--bg-light); padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* FAQ */
.faq { padding: 80px 0; background: var(--bg-light); }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: white; border-radius: var(--radius-md); 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-answer { padding: 0 25px 20px; color: var(--text-muted); display: none; }
.faq-item.active .faq-answer { display: block; }

/* Guía de Cuidado */
.guia { padding: 80px 0; background: var(--bg-white); }
.guia-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.guia-card { background: var(--bg-light); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border); position: relative; }
.g-num { position: absolute; top: 20px; right: 30px; font-size: 48px; font-weight: 800; color: var(--primary); opacity: 0.1; }

/* CTA Final */
.cta-final { 
    padding: 120px 0; 
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/tobacco-cta.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white; 
    text-align: center; 
    overflow: hidden;
}
.cta-card { 
    max-width: 800px; 
    margin: 0 auto; 
    position: relative;
    z-index: 2;
}
.cta-card h2 { font-size: clamp(32px, 6vw, 48px); margin-bottom: 20px; color: var(--primary); }
.cta-card p { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 40px; }

/* Footer */
.footer { background: #000; color: #999; padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-brand .logo { color: white; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-links h4 { color: white; margin-bottom: 25px; font-size: 16px; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; text-align: center; font-size: 13px; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-desktop { display: none; }
    .header-container { justify-content: space-between; }
}

@media (max-width: 768px) {
    .hero { padding: 60px 0; min-height: 60vh; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; }
    .section-title { margin-bottom: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand .logo { justify-content: center; }
}
