:root {
    /* Colors */
    --primary: #1a3c34; /* Deep Forest Green */
    --primary-light: #2d5a4e;
    --accent: #f2a900;  /* Warm Amber */
    --accent-light: #ffc233;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --text-white: #ffffff;
    --dark: #121212;
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-title: 'Playfair Display', serif;
    
    /* Spacing & Sizes */
    --container: 1200px;
    --section-padding: 100px 0;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section-badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    display: inline-block;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.bg-light { background-color: var(--white); }
.bg-dark { background-color: var(--dark); }
.text-white { color: var(--text-white); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 169, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block { width: 100%; }

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-billi {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-top: 2px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.nav-link:hover { color: var(--accent); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    background-color: var(--accent);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title em {
    color: var(--accent);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.product-card-img {
    height: 250px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-card-img img {
    transform: scale(1.1);
}

.product-card-info {
    padding: 30px;
}

.product-card-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-card-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-text {
    font-weight: 600;
    color: var(--accent);
}

/* About Section */
.about-img-group {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
}

.exp-num {
    font-family: var(--font-title);
    font-size: 3.5rem;
    line-height: 1;
    display: block;
}

.exp-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.about-features li svg {
    color: var(--accent);
}

/* Recipe Cards */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.recipe-card {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.recipe-img {
    height: 200px;
    position: relative;
}

.recipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255,255,255,0.9);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.recipe-info {
    padding: 24px;
}

.recipe-info h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.recipe-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.link-arrow {
    color: var(--accent);
    font-weight: 600;
}

/* Contact Section */
.contact-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--accent);
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.footer-brand { flex: 2; min-width: 250px; }
.footer-links { flex: 1; min-width: 150px; }
.footer-social { flex: 1; min-width: 150px; }

.footer h4 {
    margin-bottom: 24px;
    color: var(--primary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Responsive Updates */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 40px;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-list.active { display: flex; }
    
    .nav-actions { display: none; }
    
    .hero-title { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; }
    .about-experience { right: 0; bottom: -20px; padding: 20px; }
}

/* --- Price List Styles --- */
.prices-hero {
    height: 60vh;
    min-height: 400px;
}

.prices-container {
    max-width: 1000px;
    margin: -80px auto 100px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
    padding: 40px;
}

/* Tabs */
.prices-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.prices-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-light);
    border: 1px solid #eaeaea;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary-light);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(26, 60, 52, 0.2);
}

/* Price List Table */
.price-list-content {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.price-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    align-items: center;
}

.price-item:hover {
    background-color: var(--bg-light);
    border-radius: 8px;
    border-bottom-color: transparent;
    transform: translateX(5px);
}

.price-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    font-family: var(--font-main); /* Cambiado de title a main para mayor nitidez */
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.item-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.item-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.item-code {
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    color: #555;
}

.item-unit {
    color: var(--accent);
}

.item-price-wrapper {
    text-align: right;
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: block;
}

.item-currency {
    font-size: 1rem;
    vertical-align: super;
    margin-right: 2px;
}

@media (max-width: 768px) {
    .prices-container {
        padding: 24px;
        margin-top: -40px;
    }
    
    .price-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .item-price-wrapper {
        text-align: left;
        margin-top: 10px;
    }
}

/* --- Search & Compact List Additions --- */
.prices-header {
    margin-bottom: 30px;
}
.prices-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.prices-subtitle {
    color: var(--text-muted);
}

.search-container {
    margin-bottom: 30px;
}
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 16px;
    color: #999;
}
.search-input {
    width: 100%;
    padding: 16px 48px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1.05rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background-color: #fcfcfc;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 60, 52, 0.1);
}
.clear-search {
    position: absolute;
    right: 16px;
    background: #eee;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}
.clear-search:hover {
    background: #ddd;
    color: #333;
}

.disabled-tabs {
    opacity: 0.3;
    pointer-events: none;
}

.empty-state {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

/* Compact List Styles */
.price-item.compact {
    padding: 16px;
    gap: 16px;
}
.price-item.compact .item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}
.price-item.compact .item-info h4 {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0;
}
.price-item.compact .item-desc {
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.price-item.compact .item-price {
    font-size: 1.25rem;
}

.item-cat-badge {
    background-color: var(--primary-light);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}



/* --- Simple Price Styles --- */
.item-price-simple {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    border-left: 1px solid var(--border);
    padding-left: 16px;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 95px; /* Fijamos el ancho para que formen columnas perfectas hacia abajo */
}

.price-block + .price-block {
    border-left: 1px solid #e0e0e0;
    padding-left: 16px;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.price-highlight .price-value {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .item-price-simple {
        border-left: none;
        padding-left: 0;
        border-top: 1px dashed var(--border);
        padding-top: 12px;
        flex-wrap: wrap;
    }
}
