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

:root {
    --primary: #8B6914;
    --primary-light: #A67C1A;
    --primary-dark: #6B5010;
    --secondary: #2C5530;
    --accent: #D4A843;
    --bg: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-dark: #1A1A1A;
    --text: #333333;
    --text-light: #666666;
    --border: #E0E0E0;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.12);
    --radius: 8px;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

/* Header */
.header {
    background: var(--bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 28px;
    width: auto;
}

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

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

.lang-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 2px 4px;
    border-radius: 6px;
    line-height: 1;
    transition: background 0.3s, box-shadow 0.3s;
}

.lang-btn:hover {
    background: rgba(0,0,0,0.05);
}

.lang-btn.active {
    box-shadow: 0 0 0 2px var(--primary);
    border-radius: 6px;
}

.nav-admin {
    background: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-weight: 500;
}

.nav-admin:hover {
    background: var(--primary-dark) !important;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('almendras-variedades.jpeg');
    background-size: cover;
    background-position: center;
    padding: 140px 20px 60px;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-avellanas {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('avellanas.jpeg');
    background-size: cover;
    background-position: center;
    padding: 140px 20px 60px;
    width: 100%;
    text-align: center;
    display: block;
}

.hero-avellanas h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


/* Avellanas Info Section */
.avellanas-info {
    padding: 40px 20px;
    background: var(--bg);
    text-align: center;
}

.avellanas-info p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

.campana-info p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.avellanas-info .product-actions {
    gap: 10px;
}

.avellanas-info .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.9rem;
}

.avellanas-info .btn svg {
    width: 16px;
    height: 16px;
}

/* Intro Section */
.intro-section {
    padding: 50px 20px;
    background: var(--bg);
}

.intro-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.intro-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.intro-card p {
    font-size: 1.1rem;
    color: var(--text);
}

/* Section Varietades */
.section-variedades {
    padding: 60px 20px;
    background: var(--bg);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.section-content.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.section-text h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text);
}

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

.section-image {
    margin-top: 55px;
}

.section-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* Section Productos */
.section-productos {
    padding: 60px 20px;
    background: var(--bg-light);
}

.section-text-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.section-text-center h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--text);
}

/* Section Elaborados */
.section-elaborados {
    padding: 60px 20px;
    background: var(--bg);
}

.elaborados-list {
    list-style: none;
    margin-bottom: 20px;
}

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

.elaborados-list li:last-child {
    border-bottom: none;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary);
    margin-top: 15px;
}

/* Section Otras */
.section-otras {
    padding: 60px 20px;
    background: var(--bg-dark);
    color: white;
}

.section-otras p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* Product Card - Simple inline style */
.product-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.product-origin {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

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

.product-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
}

.product-consultar {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.product-stock {
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.stock-available { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }

.product-actions {
    display: flex;
    gap: 6px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-primary {
    background: var(--primary);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-email {
    background: #5B9BD5;
    color: white;
    flex: 1;
}

.btn-email:hover {
    background: #4A8AC4;
}

.btn-telegram {
    background: #0088cc;
    color: white;
    flex: 1;
}

.btn-telegram:hover {
    background: #006699;
}

.btn-submit {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* Contacto */
.section-contacto {
    padding: 60px 20px;
    background: var(--bg-light);
}

.section-contacto h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg);
    padding: 30px 20px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 20px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section-content,
    .section-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .section-image {
        order: -1;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}
