/* ============================================
   TABACO PARA LIAR BARATO - STATIC HTML
   Diseño: Elegancia Artesanal Cálida
   ============================================ */

:root {
    --primary: #D4A574;
    --primary-dark: #B85C3C;
    --background: #F5F1E8;
    --foreground: #1A1A1A;
    --accent: #E8D5C4;
    --secondary: #B85C3C;
    --text-light: #666666;
    --border: #E0D5C8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

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

.age-gate-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.age-gate-content {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    max-width: 28rem;
    width: 100%;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--primary);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-gate-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.age-gate-content h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.age-gate-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.age-gate-warning {
    background-color: rgba(184, 92, 60, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.age-gate-warning p {
    color: var(--foreground);
    font-weight: 600;
    margin: 0;
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.age-gate-buttons button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-gate-footer {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ============================================
   AGE BANNER
   ============================================ */

.age-banner {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.header {
    position: sticky;
    top: 2rem;
    z-index: 40;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 3.5rem;
    width: 3.5rem;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo {
        height: 4rem;
        width: 4rem;
    }
}

.brand-name {
    font-size: 1.5rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .brand-name {
        font-size: 1.875rem;
    }
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .header-btn {
        font-size: 1rem;
    }
}

.whatsapp-icon {
    display: none;
}

@media (max-width: 640px) {
    .btn-text {
        display: none;
    }
    .whatsapp-icon {
        display: inline;
    }
}

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

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: #C49563;
    border-color: #C49563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--foreground);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 2px solid var(--foreground);
}

.btn-outline:hover {
    background-color: var(--foreground);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.hero {
    position: relative;
    padding-top: 0;
    padding-bottom: 4rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-bottom: 6rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.hero-buttons a {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-width: 3px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.6);
}

.hero-buttons .btn-outline {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.hero-info {
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   DIVIDER
   ============================================ */

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 3rem 0;
}

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

.benefits {
    padding: 5rem 1rem;
}

@media (min-width: 768px) {
    .benefits {
        padding: 8rem 2rem;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.benefit-card {
    background-color: white;
    border: 2px solid var(--accent);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.highlight {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================
   TOBACCO CHARACTERISTICS
   ============================================ */

.tobacco-characteristics {
    background-color: rgba(232, 213, 196, 0.2);
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    padding: 2rem;
}

.tobacco-characteristics h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.875rem;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .characteristics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.characteristic {
    text-align: center;
}

.char-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.characteristic h4 {
    margin-bottom: 0.5rem;
}

.char-value {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.char-desc {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.packs {
    padding: 5rem 1rem;
    background-color: white;
}

@media (min-width: 768px) {
    .packs {
        padding: 8rem 2rem;
    }
}

.packs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .packs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pack-card {
    background-color: white;
    border: 2px solid var(--accent);
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pack-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pack-card.featured {
    transform: scale(1);
    box-shadow: 0 20px 25px rgba(212, 165, 116, 0.15);
}

@media (min-width: 768px) {
    .pack-card.featured {
        transform: scale(1.05);
    }
}

.featured-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pack-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.pack-card h3 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.pack-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pack-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pack-varieties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.variety {
    background-color: var(--accent);
    color: var(--foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.pack-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pack-features li {
    padding: 0.5rem 0;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pack-features li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: 700;
}

.pack-card a {
    width: 100%;
    text-align: center;
}

/* ============================================
   VARIETIES SECTION
   ============================================ */

.varieties {
    padding: 5rem 1rem;
}

@media (min-width: 768px) {
    .varieties {
        padding: 8rem 2rem;
    }
}

.varieties-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .varieties-content {
        grid-template-columns: 1fr 1fr;
    }
}

.varieties-image {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.varieties-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.variety-item h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.variety-color {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
}

.variety-color.amber {
    background-color: #B45309;
}

.variety-color.yellow {
    background-color: #EAB308;
}

.variety-color.gold {
    background-color: #B45309;
}

.variety-item p {
    color: var(--text-light);
}

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

.how-to-buy {
    padding: 5rem 1rem;
    background-color: white;
}

@media (min-width: 768px) {
    .how-to-buy {
        padding: 8rem 2rem;
    }
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.step {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.step p {
    color: var(--text-light);
    margin: 0;
}

.step strong {
    color: var(--primary);
    font-weight: 600;
}

.highlight-text {
    color: var(--primary);
    font-weight: 600;
    background-color: rgba(212, 165, 116, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.cta-center {
    text-align: center;
}

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

.shipping-payment {
    padding: 5rem 1rem;
}

@media (min-width: 768px) {
    .shipping-payment {
        padding: 8rem 2rem;
    }
}

.shipping-payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 3rem auto;
}

@media (min-width: 768px) {
    .shipping-payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shipping-box,
.payment-box {
    background-color: white;
    border: 2px solid var(--accent);
    border-radius: 0.5rem;
    padding: 2rem;
}

.shipping-box h3,
.payment-box h3 {
    margin-bottom: 1.5rem;
}

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

.shipping-box li,
.payment-box li {
    padding: 0.75rem 0;
    color: var(--text-light);
}

.shipping-box li:before,
.payment-box li:before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 0.75rem;
}

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

.faq {
    padding: 5rem 1rem;
    background-color: rgba(232, 213, 196, 0.1);
}

@media (min-width: 768px) {
    .faq {
        padding: 8rem 2rem;
    }
}

.faq-container {
    max-width: 56rem;
    margin: 3rem auto;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--accent);
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background-color: white;
    border: none;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--primary);
    background-color: rgba(232, 213, 196, 0.1);
}

.faq-question:after {
    content: "▼";
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 1rem;
    background-color: rgba(232, 213, 196, 0.05);
    color: var(--text-light);
    display: none;
    border-top: 1px solid var(--accent);
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

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

.cta-final {
    background-color: var(--secondary);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-final {
        padding: 8rem 2rem;
    }
}

.cta-final h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-final a {
    display: inline-block;
}

.cta-footer {
    font-size: 0.875rem;
    margin-top: 2rem;
    opacity: 0.75;
}

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

.guide {
    padding: 5rem 1rem;
    background-color: white;
}

@media (min-width: 768px) {
    .guide {
        padding: 8rem 2rem;
    }
}

.guide-content {
    max-width: 56rem;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.guide-article {
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
}

.guide-article h3 {
    margin-bottom: 1rem;
    color: var(--foreground);
}

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

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

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

.footer {
    background-color: white;
    border-top: 2px solid var(--primary);
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .footer {
        padding: 3rem 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h4 {
    margin-bottom: 0.75rem;
}

.footer-section p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
    h2 {
        font-size: 1.875rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .pack-price {
        font-size: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.3s ease-in;
}

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

:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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