/* ========================================
   TABACO KILOS BARATO - ESTILOS PRINCIPALES
   Colores: Dorados/Amarillos + Negro/Gris
   Mobile-first, Responsive
   ======================================== */

:root {
    --primary-gold: #d4a574;
    --primary-dark: #2c2c2c;
    --primary-light: #f5f1e8;
    --accent-yellow: #e8c547;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e0d5c7;
    --success-color: #27ae60;
    --warning-color: #e74c3c;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ========================================
   AGE GATE MODAL
   ======================================== */

.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate-modal.hidden {
    display: none;
}

.age-gate-content {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-gate-content h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 28px;
}

.age-gate-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
}

.age-gate-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.age-gate-buttons .btn {
    flex: 1;
}

/* ========================================
   HEADER STICKY
   ======================================== */

.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #3a3a3a 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 12px 20px;
}

.header-logo {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.brand-link:hover {
    color: var(--accent-yellow);
}

.brand-icon {
    font-size: 24px;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--accent-yellow);
}

.header-nav {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    flex-shrink: 0;
}

.btn-header {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.header-warning {
    background: var(--warning-color);
    color: white;
    padding: 8px 0;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: #d4a547;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 197, 71, 0.3);
}

.btn-secondary {
    background: #999;
    color: white;
}

.btn-secondary:hover {
    background: #777;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    color: white;
    padding: 120px 0;
    text-align: center;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.65);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    color: #e8e8e8;
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    margin: 35px 0;
}

.hero-info {
    font-size: 15px;
    color: #ddd;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits {
    padding: 60px 0;
    background: var(--primary-light);
}

.benefits h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 20px;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   PACKS SECTION
   ======================================== */

.packs {
    padding: 60px 0;
    background: white;
}

.packs h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.packs-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pack-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.pack-card {
    background: var(--primary-light);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pack-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.2);
}

.pack-card.featured {
    border-color: var(--accent-yellow);
    background: linear-gradient(135deg, #fff9e6 0%, var(--primary-light) 100%);
    transform: scale(1.05);
}

.pack-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.pack-header {
    margin-bottom: 20px;
}

.pack-header h3 {
    color: var(--primary-dark);
    font-size: 24px;
    margin-bottom: 10px;
}

.pack-variety {
    font-size: 14px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pack-price {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-yellow);
    margin-bottom: 5px;
}

.pack-savings {
    font-size: 14px;
    color: var(--success-color);
    font-weight: bold;
}

.pack-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.pack-features li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.pack-features li:last-child {
    border-bottom: none;
}

/* ========================================
   HOW TO BUY SECTION
   ======================================== */

.how-to-buy {
    padding: 60px 0;
    background: var(--primary-light);
}

.how-to-buy h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 18px;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   SHIPPING & PAYMENT SECTION
   ======================================== */

.shipping-payment {
    padding: 60px 0;
    background: white;
}

.shipping-payment h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.shipping-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.shipping-box {
    background: var(--primary-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-gold);
}

.shipping-box h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 20px;
}

.shipping-box ul {
    list-style: none;
}

.shipping-box li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.shipping-box li:last-child {
    border-bottom: none;
}

/* ========================================
   SEO GUIDE SECTION
   ======================================== */

.seo-guide {
    padding: 60px 0;
    background: var(--primary-light);
}

.seo-guide h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.guide-article {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.guide-article h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 22px;
}

.guide-article p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.guide-article p:last-child {
    margin-bottom: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    padding: 60px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--primary-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-yellow);
}

.faq-item h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 16px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #3a3a3a 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.final-cta > .container > p:first-of-type {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ddd;
}

.final-cta .btn {
    margin: 20px 0;
}

.final-warning {
    font-size: 14px;
    color: #bbb;
    margin-top: 20px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    font-size: 14px;
}

.footer-section strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .benefits h2,
    .packs h2,
    .how-to-buy h2,
    .shipping-payment h2,
    .seo-guide h2,
    .faq h2,
    .final-cta h2 {
        font-size: 28px;
    }

    .pack-card.featured {
        transform: scale(1);
    }

    .header-container {
        gap: 20px;
        padding: 10px 15px;
    }

    .header-nav {
        gap: 15px;
        flex: none;
    }

    .nav-link {
        font-size: 12px;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 12px;
    }

    .brand-text {
        font-size: 16px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    .pack-price {
        font-size: 28px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 10px;
    }

    .header-logo {
        flex: 1;
        min-width: 150px;
    }

    .header-nav {
        display: none;
    }

    .header-actions {
        flex: 1;
        min-width: 100px;
    }

    .btn-header {
        padding: 8px 12px;
        font-size: 11px;
    }

    .brand-text {
        font-size: 14px;
    }

    .brand-icon {
        font-size: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 400px;
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-info {
        font-size: 13px;
    }

    .benefits h2,
    .packs h2,
    .how-to-buy h2,
    .shipping-payment h2,
    .seo-guide h2,
    .faq h2,
    .final-cta h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .benefits-grid,
    .packs-grid,
    .steps-grid,
    .shipping-content,
    .faq-grid {
        gap: 20px;
    }

    .benefit-card,
    .pack-card,
    .step,
    .shipping-box,
    .faq-item,
    .guide-article {
        padding: 20px;
    }

    .pack-price {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 14px;
    }

    .brand {
        font-size: 16px;
    }

    .age-gate-content {
        padding: 30px 20px;
    }

    .age-gate-content h2 {
        font-size: 22px;
    }

    .age-gate-buttons {
        flex-direction: column;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

a:focus,
button:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .header,
    .age-gate-modal,
    .final-cta {
        display: none;
    }
}
