﻿/* ===== CSS Variables ===== */
:root {
    --primary: #2d5a27;
    --primary-dark: #1e3d1a;
    --primary-light: #4a7c42;
    --secondary: #d4a853;
    --secondary-light: #e8c97a;
    --accent: #8b4513;
    --text-dark: #2c3e2d;
    --text-light: #5a6b5c;
    --text-muted: #8a9a8c;
    --bg-light: #f8f9f5;
    --bg-cream: #faf8f3;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--secondary-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-pattern {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 90, 39, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.featured-products {
    padding: 100px 0;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-name {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.about-preview {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
}

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 14px;
}

.social-links {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.about-social-links {
    margin-top: 24px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.social-link:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-youtube { background: #ff0000; }
.social-whatsapp { background: #25d366; }

.social-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    font-size: 11px;
    line-height: 1;
}

.social-ico svg {
    width: 12px;
    height: 12px;
    display: block;
}

.social-facebook { background: #1877f2; }
.social-youtube { background: #ff0000; }
.social-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.admin-link {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.admin-link:hover {
    color: var(--secondary);
}

.page-header {
    padding: 140px 0 128px;
    background: linear-gradient(90deg, rgba(28, 47, 30, 0.72) 0%, rgba(28, 47, 30, 0.52) 42%, rgba(28, 47, 30, 0.32) 100%), url("images/hero-wheat.png") center 42% / cover no-repeat;
    color: var(--white);
    text-align: left;
    min-height: 320px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    margin-top: 18px;
    box-shadow: inset 0 -44px 70px rgba(0,0,0,.18);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.9;
    font-size: 16px;
}

.page-header .container {
    display: none;
}

body.page-bg {
    background: #f5f5f5;
}

body.page-bg .page-header {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    min-height: 220px;
}

body.page-bg .products-section,
body.page-bg .about-section,
body.page-bg .contact-section,
body.page-bg .contact-map-section {
    background: transparent;
}

body.page-bg .products-section,
body.page-bg .about-section,
body.page-bg .contact-section,
body.page-bg .contact-map-section {
    backdrop-filter: none;
}

body.page-bg {
    background-attachment: scroll;
}

body.products-page .page-header {
    text-align: left;
}

body.products-page .page-header .container {
    max-width: 1200px;
}

body.products-page .page-header h1 {
    max-width: 620px;
}

body.products-page .page-header p {
    max-width: 560px;
}

.page-header + .products-section,
.page-header + .about-section,
.page-header + .contact-section {
    margin-top: 0;
}

.products-section {
    padding: 36px 0 60px;
    background: var(--bg-light);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.home-product-tabs {
    margin-bottom: 24px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

body.products-page .category-filter {
    justify-content: flex-start;
    padding: 14px 16px;
    border: 1px solid rgba(45, 90, 39, 0.16);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
    box-shadow: 0 6px 18px rgba(26, 45, 26, 0.06);
    gap: 10px;
}

body.products-page .filter-btn {
    border: 1px solid rgba(45, 90, 39, 0.35);
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: .2px;
    background: #fff;
    color: #2f3a2f;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.products-page .filter-btn:hover {
    background: #edf5ee;
    border-color: rgba(45, 90, 39, 0.45);
    transform: translateY(-1px);
}

body.products-page .filter-btn.active {
    background: #2d5a27;
    border-color: #2d5a27;
    color: #fff;
    box-shadow: 0 4px 10px rgba(45, 90, 39, 0.28);
}

body.products-page .filter-ico {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(45, 90, 39, 0.1);
}

body.products-page .filter-btn.active .filter-ico {
    background: rgba(255, 255, 255, 0.22);
}

body.products-page .filter-ico svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.modal-info {
    padding: 40px;
}

.modal-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.modal-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.modal-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-section {
    padding: 36px 0 80px;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image-large img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.about-story-slider {
    position: relative;
}

.home-about-slider {
    position: relative;
}

.about-story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    cursor: pointer;
}

.about-story-nav.prev { left: 10px; }
.about-story-nav.next { right: 10px; }

.about-story-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.about-story-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.about-story-dot.active {
    background: #ffffff;
}

.about-text-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.about-text-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 16px;
}

.about-text-content {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.values-section {
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
}

.stats-section {
    background: var(--primary);
    padding: 60px;
    border-radius: var(--radius);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.contact-section {
    padding: 36px 0 80px;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 24px;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #ececec;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form .btn-primary {
    height: 48px;
    font-weight: 700;
}

.contact-map-section {
    padding: 18px 0 80px;
    background: #f5f5f5;
}

.contact-map-header {
    text-align: center;
    margin-bottom: 18px;
}

.contact-map-header h2 {
    font-size: 34px;
    margin-bottom: 6px;
}

.references-section {
    padding: 36px 0 80px;
}

.page-benefits {
    padding: 106px 0 14px;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 26px;
}

.reference-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e6ece6;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    overflow: hidden;
    position: relative;
}

.reference-image-wrap {
    aspect-ratio: 1 / 1;
    background: #f4f6f3;
    position: relative;
}

.reference-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-info {
    padding: 14px 16px 16px;
}

.reference-info h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.reference-info p {
    color: var(--text-light);
    font-size: 14px;
}

.reference-open-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    border: 0;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
}

.ref-card-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    cursor: pointer;
}

.ref-card-prev { left: 8px; }
.ref-card-next { right: 8px; }

.whatsapp-support-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1300;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(245, 245, 245, .92);
    color: #4f5b55;
    border: 1px solid #d9e2d9;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-support-btn .wa-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
}

.whatsapp-support-btn .wa-icon svg {
    width: 18px;
    height: 18px;
}

.whatsapp-support-btn:hover {
    transform: translateY(-1px);
    background: #fdfdfd;
}

@media (max-width: 768px) {
    .whatsapp-support-btn {
        right: 12px;
        bottom: 12px;
        padding: 8px 10px;
    }
    .whatsapp-support-btn .wa-text {
        display: none;
    }

    .about-image-large img {
        height: 280px;
    }

    .page-benefits {
        padding: 92px 0 10px;
    }
}

.contact-map-header p {
    color: var(--text-light);
}

.route-btn {
    margin-top: 10px;
}

.map-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e6e6e6;
}

.map-frame iframe {
    width: 100%;
    height: 430px;
    border: 0;
    display: block;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .about-story,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image img {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-menu .nav-link {
        width: 100%;
        min-width: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header {
        padding: 116px 0 94px;
        min-height: 280px;
        margin-top: 14px;
    }

    .products-section,
    .about-section,
    .contact-section {
        padding-top: 180px;
    }

    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .category-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ===== Professional Link Polish ===== */
.nav-link {
    letter-spacing: .2px;
    font-weight: 600;
}

/* Menu links as buttons */
.nav-menu .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(45, 90, 39, 0.18);
    background: #fff;
    color: #2f3a2f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    gap: 8px;
}

.nav-menu .nav-link:hover {
    background: #f4f8f3;
    border-color: rgba(45, 90, 39, 0.35);
    transform: translateY(-1px);
}

.nav-menu .nav-link.active {
    color: #2f3a2f;
    border-color: rgba(45, 90, 39, 0.35);
    background: #f4f8f3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-ico {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.nav-ico svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lang-switch {
    display: inline-flex;
    gap: 6px;
    margin-left: 10px;
}

.lang-btn {
    border: 1px solid rgba(45,90,39,.25);
    background: #fff;
    color: #2f3a2f;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.lang-btn.active {
    background: #2d5a27;
    color: #fff;
    border-color: #2d5a27;
}

body.homepage {
    background: linear-gradient(rgba(17,17,17,.18), rgba(17,17,17,.18)), url("images/hero-wheat.png") center top / cover fixed no-repeat;
}

body.homepage .navbar {
    background: rgba(24, 30, 28, 0.82);
    border-bottom-color: rgba(255,255,255,.08);
}

body.homepage .hero-slider {
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-links a,
.footer-contact a,
.admin-link {
    position: relative;
    text-decoration: none;
}

.footer-links a::after,
.admin-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width .25s ease;
}

.footer-links a:hover::after,
.admin-link:hover::after {
    width: 100%;
}

.social-link {
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
/* ===== Logo Styles ===== */
.logo-img {
    height: 50px;
    width: auto;
}

.logo-img-small {
    height: 40px;
    width: auto;
}

/* ===== Product Description ===== */
.product-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ===== Modal Large ===== */
.modal-large {
    max-width: 900px;
}

/* ===== Specifications Section ===== */
.specs-section {
    margin: 24px 0;
}

.specs-section h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.specs-table-wrapper {
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px solid #dfe5df;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.specs-table th,
.specs-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e6ece6;
}

.specs-table th {
    background: #f3f7f2;
    font-weight: 700;
    color: #1f3a1a;
    width: 42%;
    border-right: 1px solid #e6ece6;
}

.specs-table td {
    color: #2f3a2f;
    background: #fff;
}

.specs-table tr:hover th,
.specs-table tr:hover td {
    background: #f8fbf7;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 460px;
    overflow: hidden;
    margin-top: 34px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18,22,20,0.36) 0%, rgba(18,22,20,0.52) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 900px;
    transform: translateY(36px);
}

.slide-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.slide-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .slide-title {
        font-size: 48px;
    }
    
    .slide-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 56vh;
        min-height: 360px;
        margin-top: 18px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-subtitle {
        font-size: 16px;
    }

    .slide-content {
        transform: translateY(18px);
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
}


/* ===== Professional Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 55px;
    width: auto;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    position: relative;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: #2d5a27;
    background: rgba(45, 90, 39, 0.08);
}

.nav-link.active {
    color: #2d5a27;
    background: rgba(45, 90, 39, 0.12);
    font-weight: 600;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: #2d5a27;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* CTA Button in Nav */
.nav-cta {
    margin-left: 20px;
}

.nav-cta .btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c42 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.nav-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: rgba(45, 90, 39, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(45, 90, 39, 0.2);
}

.bar {
    width: 24px;
    height: 2.5px;
    background: #2d5a27;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-container {
        padding: 0 20px;
        height: 80px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease;
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 16px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin: 10px 0 0 0;
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .nav-menu {
        top: 70px;
    }
}
