/* ============================================================
   FUNGICULTORES DE LA SABANA — ESTILOS COMPARTIDOS
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; line-height: 1.6; background: #fafaf7; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }
img { max-width: 100%; display: block; }
a { transition: 0.2s; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 30px; }

/* TOP BAR */
.top-bar { background: #1a3a2e; color: #d4e8dc; font-size: 0.8rem; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.lang-selector { display: flex; gap: 10px; }
.lang-selector button { background: none; border: none; color: #d4e8dc; font-weight: 600; cursor: pointer; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; font-family: inherit; }
.lang-selector button.active { background: #d4a017; color: #1a3a2e; }
.top-links { display: flex; gap: 20px; }
.top-links a { color: #d4e8dc; text-decoration: none; }
.top-links a:hover { color: #d4a017; }

/* HEADER */
.main-header { background: white; padding: 18px 0; border-bottom: 2px solid #1a3a2e; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #1a3a2e; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 42px; height: 42px; background: #1a3a2e; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #d4a017; font-size: 1.4rem; flex-shrink: 0; }
.logo small { display: block; font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 500; color: #6b7a72; letter-spacing: 1px; }

.menu { display: flex; list-style: none; gap: 22px; }
.menu-item { position: relative; }
.menu-item > a { color: #1a3a2e; text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 8px 0; display: block; white-space: nowrap; }
.menu-item > a:hover { color: #d4a017; }
.submenu { position: absolute; top: 100%; left: 0; background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.12); border-radius: 8px; padding: 16px 0; min-width: 240px; opacity: 0; visibility: hidden; transition: 0.2s; z-index: 50; }
.menu-item:hover .submenu { opacity: 1; visibility: visible; }
.submenu a { display: block; padding: 8px 24px; color: #333; text-decoration: none; font-size: 0.85rem; }
.submenu a:hover { background: #f0f5f2; color: #1a3a2e; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: #1a3a2e; cursor: pointer; }

.btn-primary { background: #d4a017; color: #1a3a2e; padding: 10px 24px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.85rem; display: inline-block; border: none; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: #b8860b; }
.btn-outline { background: transparent; color: #1a3a2e; padding: 10px 24px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.85rem; border: 2px solid #1a3a2e; display: inline-block; }
.btn-outline:hover { background: #1a3a2e; color: white; }

/* HERO HOME */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; background: linear-gradient(135deg, rgba(26,58,46,0.88) 0%, rgba(26,58,46,0.65) 100%), url('https://images.unsplash.com/photo-1504545102780-26774c1bb073?q=80&w=2070') center/cover; color: white; }
.hero-content { max-width: 720px; z-index: 2; }
.hero-badge { display: inline-block; background: #d4a017; color: #1a3a2e; padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: #d4a017; }
.hero p { font-size: 1.15rem; margin-bottom: 35px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.2); max-width: 600px; }
.hero-stat strong { display: block; font-size: 2rem; color: #d4a017; font-family: 'Playfair Display', serif; }
.hero-stat span { font-size: 0.8rem; opacity: 0.85; }

/* PAGE HERO (internas) */
.page-hero { background: linear-gradient(135deg, rgba(26,58,46,0.92), rgba(26,58,46,0.75)), url('https://images.unsplash.com/photo-1504545102780-26774c1bb073?w=1600') center/cover; color: white; padding: 100px 0 80px; text-align: center; }
.page-hero h1 { font-size: 3rem; margin-bottom: 15px; }
.page-hero p { font-size: 1.15rem; max-width: 720px; margin: 0 auto; opacity: 0.95; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 20px; opacity: 0.85; }
.breadcrumb a { color: #d4a017; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* SECTIONS */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .eyebrow { color: #d4a017; font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.section-head h2 { font-size: 2.5rem; color: #1a3a2e; margin-bottom: 15px; }
.section-head p { color: #5a6b62; font-size: 1.05rem; }

/* PAGE CONTENT (internas) */
.page-content { padding: 80px 0; }
.page-content h2 { font-size: 2rem; color: #1a3a2e; margin: 40px 0 18px; }
.page-content h3 { font-size: 1.35rem; color: #1a3a2e; margin: 30px 0 12px; }
.page-content p { color: #4a5a52; font-size: 1.02rem; line-height: 1.8; margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 25px; margin-bottom: 20px; }
.page-content li { color: #4a5a52; font-size: 1.02rem; line-height: 1.8; margin-bottom: 8px; }

/* CATEGORY GRID */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.cat-card { background: white; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid #e8ecea; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(26,58,46,0.12); }
.cat-img { height: 200px; background-size: cover; background-position: center; }
.cat-body { padding: 24px; }
.cat-body h3 { color: #1a3a2e; font-size: 1.25rem; margin-bottom: 8px; }
.cat-body p { color: #5a6b62; font-size: 0.9rem; margin-bottom: 12px; }
.cat-body .cat-link { color: #d4a017; font-weight: 700; font-size: 0.85rem; }

/* WHY / FEATURE GRID */
.why-grid, .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.why-card { background: white; padding: 35px; border-radius: 12px; border-left: 4px solid #d4a017; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.why-card .icon, .feature-card .icon { font-size: 2.5rem; margin-bottom: 15px; }
.why-card h3, .feature-card h4 { color: #1a3a2e; font-size: 1.15rem; margin-bottom: 10px; }
.why-card p, .feature-card p { color: #5a6b62; font-size: 0.9rem; }
.feature-card { background: white; border: 1px solid #e8ecea; border-radius: 12px; padding: 30px; }
.feature-card:hover { box-shadow: 0 10px 30px rgba(26,58,46,0.08); transform: translateY(-4px); }

/* PROD SHOWCASE (home) */
.prod-showcase { background: #1a3a2e; color: white; }
.prod-showcase .section-head h2 { color: white; }
.prod-showcase .section-head p { color: #b8ccc3; }
.prod-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.prod-tab { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 10px 24px; border-radius: 30px; cursor: pointer; font-size: 0.85rem; font-weight: 600; font-family: inherit; }
.prod-tab.active, .prod-tab:hover { background: #d4a017; color: #1a3a2e; border-color: #d4a017; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.prod-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 24px; text-decoration: none; color: white; display: block; }
.prod-item:hover { background: rgba(212,160,23,0.15); border-color: #d4a017; }
.prod-item h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 6px; color: #d4a017; }
.prod-item p { font-size: 0.85rem; color: #c8d8d0; }

/* MARKETS */
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.market-item { background: white; padding: 30px; border-radius: 12px; text-align: center; border: 1px solid #e8ecea; }
.market-item .flag { font-size: 2.5rem; margin-bottom: 10px; }
.market-item h4 { color: #1a3a2e; font-size: 1rem; margin-bottom: 5px; }
.market-item span { color: #5a6b62; font-size: 0.8rem; }

/* TABLES */
.data-table { width: 100%; border-collapse: collapse; margin: 25px 0; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.data-table th { background: #1a3a2e; color: white; padding: 14px; text-align: left; font-size: 0.85rem; font-weight: 600; }
.data-table td { padding: 13px 14px; border-bottom: 1px solid #e8ecea; font-size: 0.9rem; color: #4a5a52; }
.data-table tr:hover td { background: #f0f5f2; }

/* CTA */
.cta-band { background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%); color: #1a3a2e; padding: 70px 0; text-align: center; }
.cta-band h2 { font-size: 2.2rem; margin-bottom: 15px; }
.cta-band p { font-size: 1.1rem; margin-bottom: 30px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: #1a3a2e; color: white; }
.cta-band .btn-primary:hover { background: #0f2319; }
.cta-inline { background: #f0f5f2; border-left: 4px solid #d4a017; padding: 30px; border-radius: 8px; margin: 40px 0; }
.cta-inline h3 { margin-top: 0 !important; }
.cta-inline .btn-primary { margin-top: 15px; }

/* FORMS */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #1a3a2e; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #d0d8d3; border-radius: 8px; font-family: inherit; font-size: 0.95rem; color: #1a1a1a; background: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #d4a017; box-shadow: 0 0 0 3px rgba(212,160,23,0.15); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* PRODUCT DETAIL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-detail img { border-radius: 12px; width: 100%; }
.product-meta { display: flex; flex-direction: column; gap: 15px; }
.product-meta .badge { display: inline-block; background: #e8f4ec; color: #1a3a2e; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; width: fit-content; }
.product-price { font-size: 1.8rem; color: #d4a017; font-family: 'Playfair Display', serif; font-weight: 700; }

/* BLOG / NEWS */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: white; border-radius: 12px; overflow: hidden; border: 1px solid #e8ecea; text-decoration: none; color: inherit; }
.blog-card:hover { box-shadow: 0 15px 35px rgba(26,58,46,0.1); transform: translateY(-4px); }
.blog-card img { height: 200px; width: 100%; object-fit: cover; }
.blog-card .blog-body { padding: 25px; }
.blog-card .blog-date { font-size: 0.75rem; color: #d4a017; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.blog-card h3 { font-size: 1.2rem; color: #1a3a2e; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; color: #5a6b62; }

/* FAQ */
.faq-item { background: white; border: 1px solid #e8ecea; border-radius: 10px; margin-bottom: 15px; overflow: hidden; }
.faq-question { padding: 20px 25px; cursor: pointer; font-weight: 600; color: #1a3a2e; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: #d4a017; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { padding: 0 25px 20px; color: #5a6b62; display: none; }
.faq-item.open .faq-answer { display: block; }

/* FOOTER */
footer { background: #0f2319; color: #b8ccc3; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h5 { color: #d4a017; font-family: 'Inter', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; font-weight: 700; }
.footer-col p, .footer-col li { font-size: 0.85rem; line-height: 2; }
.footer-col ul { list-style: none; }
.footer-col a { color: #b8ccc3; text-decoration: none; }
.footer-col a:hover { color: #d4a017; }
.footer-bottom { border-top: 1px solid rgba(184,204,195,0.2); padding-top: 30px; text-align: center; font-size: 0.8rem; color: #7a8f85; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .menu-toggle { display: block; }
    .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 5px; }
    .menu.active { display: flex; }
    .submenu { position: static; box-shadow: none; opacity: 1; visibility: visible; padding: 0 0 0 20px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-head h2 { font-size: 1.8rem; }
    .page-hero h1 { font-size: 2rem; }
    section { padding: 60px 0; }
    .product-detail { grid-template-columns: 1fr; gap: 30px; }
    .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
    .page-hero h1 { font-size: 1.7rem; }
}