/*
Theme Name: TuTabacoDeLiar
Theme URI: https://tutabacodeliar.com
Author: TuTabacoDeLiar
Description: Tema de WordPress optimizado para la venta de tabaco por kilos. Diseño premium, profesional y enfocado a la conversión.
Version: 2.0
Text Domain: tutabacodeliar
*/

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

:root {
    --primary-color: #1a1a1a;
    --accent-color: #d4af37;
    --secondary-color: #c41e3a;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* HEADER */
header {
    background: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('./hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}



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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.hero > .container > p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.3);
}

.cta-button.secondary {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.cta-button.secondary:hover {
    background: transparent;
    color: var(--accent-color);
}

/* PRICING SECTION */
.pricing-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 900;
}

.section-title span {
    color: var(--accent-color);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.price-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.price-card.featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.price-card.featured .badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.price-card h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 20px 0;
    color: var(--secondary-color);
}

.price-card .price::before {
    content: '';
}

.price-card .price-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.price-card .cta-button {
    width: 100%;
    margin-top: 20px;
}

/* TRUST SECTION */
.trust-section {
    padding: 60px 0;
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-item {
    padding: 30px;
}

.trust-item .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.trust-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.trust-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CONTENT SECTIONS */
.content-section {
    padding: 70px 0;
    background: var(--white);
}

.content-section:nth-child(even) {
    background: var(--light-bg);
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 900;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}

.content-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* FAQ SECTION */
.faq-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--secondary-color);
}

.faq-question::after {
    content: '▼';
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* FOOTER */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
    text-align: center;
}

footer p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: var(--accent-color);
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }
}
