/* ============================
   RESET & BASE
   ============================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green:   #2d8a4e;
    --primary-dark:    #1a5c33;
    --accent-orange:   #d96a10;
    --accent-yellow:   #e6a800;
    --bg-light:        #f5f9f2;
    --bg-white:        #ffffff;
    --text-dark:       #1a1a1a;
    --text-muted:      #545454;
    --border-color:    #dee2e6;
    --shadow-sm:       0 2px 8px rgba(0,0,0,.08);
    --shadow-md:       0 4px 16px rgba(0,0,0,.12);
    --radius-sm:       6px;
    --radius-md:       12px;
    --radius-lg:       20px;
    --transition:      0.2s ease;
    --green-50:        #2e7d32;
    --green-60:        #256829;
    --green-light:     #689f38;
    --green-light-60:  #558b2f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #fafdf7;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--green-60), var(--green-light-60));
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}
img {
    max-width: 100%;
    height: auto;
}

/* ============================
   ANIMATIONS (keyframes)
   ============================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-20px); }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ============================
   REVEAL ANIMATIONS
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Stagger Children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.active > *:nth-child(8) { transition-delay: 0.8s; }
.stagger-children.active > * { opacity: 1; transform: translateY(0); }

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    min-height: 44px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
    gap: 8px;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    color: white;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-60), var(--green-light-60));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(76,175,80,0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-outline:hover {
    background: white;
    color: var(--green-50);
}

.btn i { margin-right: 4px; }

/* ============================
   LOADING SCREEN
   ============================ */
.loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; }
.loader { display: flex; gap: 15px; }
.loader span {
    font-size: 3rem;
    animation: bounce 0.6s infinite alternate;
}
.loader span:nth-child(2) { animation-delay: 0.2s; }
.loader span:nth-child(3) { animation-delay: 0.4s; }
.loading-screen p {
    color: white; font-size: 1.2rem; margin-top: 20px; font-weight: 600;
}

/* ============================
   SCROLL TO TOP
   ============================ */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    color: white; border: none; border-radius: 50%;
    cursor: pointer; font-size: 1.2rem; z-index: 1000;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(76,175,80,0.4);
    display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(76,175,80,0.5);
}

/* ============================
   TOP CONTACT BAR
   ============================ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: linear-gradient(90deg, #3d2b1f, #5a3e2b);
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    line-height: 1;
    transition: transform 0.3s ease;
}
.top-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.top-bar__link {
    color: rgba(255,255,255,0.92);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.top-bar__link:hover {
    color: #fff;
}
.top-bar__link i {
    font-size: 0.72rem;
}
.top-bar__link .fa-whatsapp {
    color: #25d366;
}
.top-bar__divider {
    color: rgba(255,255,255,0.25);
    font-size: 0.7rem;
    user-select: none;
}
.top-bar__social {
    display: flex;
    align-items: center;
    gap: 4px;
}
.top-bar__social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.78rem;
}
.top-bar__social-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

/* ============================
   HEADER
   ============================ */
.header {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    position: fixed; width: 100%; top: 36px; z-index: 1000;
    transition: box-shadow 0.3s ease, padding 0.3s ease, top 0.3s ease;
    border-bottom: 1px solid rgba(76,175,80,0.06);
}
.header.scrolled {
    top: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 5px 0;
}
/* Hide top bar when header is scrolled */
.top-bar.top-bar--hidden {
    transform: translateY(-100%);
}
.header .container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.6rem; font-weight: 700; color: var(--green-50);
    transition: transform 0.3s;
}
.logo:hover { transform: scale(1.05); }
.logo-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.nav {
    display: flex; gap: 30px; align-items: center;
}
.nav a {
    font-weight: 600; transition: color 0.3s;
    position: relative; padding: 10px 5px;
    min-height: 44px; display: flex; align-items: center;
}
.nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--green-50), var(--green-light));
    transition: width 0.3s ease;
}
.nav a:hover { color: var(--green-50); }
.nav a:hover::after { width: 100%; }

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 100;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 10px 14px;
    min-height: 44px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(45, 138, 78, 0.08);
    transform: scale(1.05);
}

.lang-toggle i {
    font-size: 1rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 140px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.language-selector:hover .lang-dropdown,
.language-selector:focus-within .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.lang-option:first-child {
    border-radius: 12px 12px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 12px 12px;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--primary-green);
}

.lang-option.active {
    background: var(--bg-light);
    color: var(--primary-green);
    font-weight: 700;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none; border: none; font-size: 1.5rem;
    color: var(--green-50); cursor: pointer;
    min-width: 44px; min-height: 44px;
    padding: 10px; border-radius: 8px;
    transition: background 0.2s;
}
.mobile-menu-btn:hover { background: rgba(76,175,80,0.08); }

.mobile-menu-close {
    display: none;
    position: absolute; top: 15px; right: 15px;
    background: none; border: none;
    font-size: 1.8rem; color: #666; cursor: pointer;
    min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center;
}


/* ============================
   HERO SECTION
   ============================ */
.hero {
    background: linear-gradient(135deg, rgba(27,67,50,0.88), rgba(45,106,79,0.85)),
                url('https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=1200') center/cover;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
    padding-top: 116px;
    position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

/* Hero Slider */
.hero-slider {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-slider .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}
.hero-slider .slide.active { opacity: 1; transform: scale(1); }
.hero-slider .slide.prev   { opacity: 0; transform: scale(1.05); }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(27,67,50,0.85), rgba(45,106,79,0.82));
    z-index: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute; bottom: 60px; left: 50%;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 20px; z-index: 10;
}
.slider-btn {
    width: 50px; height: 50px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08); color: white;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.slider-btn:hover {
    background: rgba(255,255,255,0.95); color: var(--green-50); transform: scale(1.05);
}
.slider-dots { display: flex; gap: 10px; align-items: center; }
.slider-dots .dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.22);
    cursor: pointer; transition: all 0.3s ease;
    border: none; padding: 0;
    position: relative;
}
.slider-dots .dot.active {
    background: rgba(255,255,255,0.88); width: 14px; height: 14px;
    box-shadow: 0 0 10px rgba(255,255,255,0.25);
}
.slider-dots .dot:hover { background: rgba(255,255,255,0.6); }
.slider-dots .dot:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Hero Content */
.hero-content {
    position: relative; z-index: 2;
    max-width: 900px; padding: 0 20px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 10px 25px; border-radius: 30px;
    font-size: 1rem; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-content h1 {
    font-size: 3.5rem; margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-weight: 800; line-height: 1.2; letter-spacing: -1px;
}
.hero-content h1 .highlight {
    background: linear-gradient(90deg, #fff700, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 1.3rem; margin-bottom: 30px;
    max-width: 600px; margin-left: auto; margin-right: auto;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) 0.5s forwards;
}
.hero-content .btn {
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) 0.8s forwards;
}
.hero-buttons {
    display: flex; gap: 15px; justify-content: center; flex-wrap: wrap;
}
.hero-stats {
    display: flex; gap: 50px; justify-content: center;
    margin-top: 50px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; display: inline-block; line-height: 1.1; }
.stat-label { font-size: 0.9rem; opacity: 0.9; display: block; margin-top: 6px; }

.hero-scroll {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    animation: scrollBounce 2s infinite;
    cursor: pointer; z-index: 10;
}
.hero-scroll span { font-size: 0.9rem; opacity: 0.9; }

/* ============================
   FEATURES SECTION
   ============================ */
.features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
}
.features .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-item {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative; overflow: hidden;
}
.feature-item::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--green-50), var(--green-light));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.feature-item:hover::before { transform: scaleX(1); }
.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(76,175,80,0.2);
}
.feature-item i {
    font-size: 2.5rem; color: var(--green-50);
    margin-bottom: 15px; display: inline-block;
    transition: transform 0.3s;
}
.feature-item:hover i { transform: scale(1.2) rotate(10deg); }
.feature-item h3 { margin-bottom: 10px; color: var(--text-dark); }
.feature-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ============================
   ABOUT SECTION
   ============================ */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    position: relative; overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}
.about-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center;
}
.about-text h2 {
    font-size: 2.5rem; margin-bottom: 20px;
    color: var(--text-dark); position: relative; display: inline-block;
}
.about-text h2::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--green-50), var(--green-light));
}
.about-text p {
    color: #3e3e3e; margin-bottom: 15px; line-height: 1.8;
}
.about-list { list-style: none; margin-top: 20px; }
.about-list li {
    padding: 12px 0; display: flex; align-items: center; gap: 15px;
    transition: transform 0.3s;
}
.about-list li:hover { transform: translateX(10px); }
.about-list i {
    color: white; font-size: 1rem;
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.about-image {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg); margin: 0;
}
.about-image img {
    width: 100%; border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative; z-index: 1;
    transition: transform 0.5s ease;
}
.about-image:hover img { transform: scale(1.03); }

/* ============================
   PRODUCTS SECTION
   ============================ */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-green);
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title::after {
    content: ''; display: block;
    width: 80px; height: 4px;
    background: linear-gradient(90deg, var(--green-50), var(--green-light));
    margin: 15px auto 0; border-radius: 2px;
}

/* ============================
   IMAGE ACCORDION - HAVIGO STYLE
   ============================ */

/* ── Products Banner ── */
.products-banner {
    position: relative;
    width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 40px;
    background: var(--primary-dark);
}
.products-banner__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    transition: transform 8s ease-out;
}
.products-banner:hover .products-banner__bg {
    transform: scale(1.04);
}
.products-banner__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        165deg,
        rgba(26, 92, 51, 0.88) 0%,
        rgba(45, 138, 78, 0.72) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
}
.products-banner__content {
    position: relative; z-index: 2;
    text-align: center;
    color: #fff;
    padding: 56px 24px;
    max-width: 720px;
}
.products-banner__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.products-banner__title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.products-banner__title em {
    font-style: normal;
    color: var(--accent-yellow);
}
.products-banner__desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin: 0 0 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.products-banner__stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 14px 8px;
}
.products-banner__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.products-banner__stat-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
}
.products-banner__stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    margin-top: 3px;
}
.products-banner__stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.2);
}

/* Banner mobile */
@media (max-width: 820px) {
    .products-banner {
        min-height: 280px;
        margin-bottom: 24px;
    }
    .products-banner__content {
        padding: 40px 18px;
    }
    .products-banner__desc {
        font-size: 0.85rem;
        margin-bottom: 22px;
    }
    .products-banner__stat {
        padding: 0 14px;
    }
    .products-banner__stat-num {
        font-size: 1.1rem;
    }
    .products-banner__stat-label {
        font-size: 0.6rem;
    }
    .products-banner__stat-divider {
        height: 26px;
    }
}

/* ── Category group ── */
.category-group { margin-bottom: 36px; }
.category-group:last-of-type { margin-bottom: 52px; }
.category-group__header {
    display: flex; align-items: center; gap: 10px; padding-bottom: 12px;
}
.category-group__icon { font-size: 1rem; line-height: 1; }
.category-group__title {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.14em; color: #5a5a5a; white-space: nowrap; margin: 0;
}
.category-group__line { flex: 1; height: 1px; background: var(--border-color); margin-left: 4px; }
.category-group__slogan {
    font-size: 0.82rem; color: var(--text-muted); font-style: italic;
    margin: -4px 0 14px; padding-left: 2px; letter-spacing: 0.01em;
}

/* ── Accordion keyframes ── */
@keyframes accordionSlideUp {
    from { opacity: 0; transform: translateY(44px) scaleY(0.96); }
    to   { opacity: 1; transform: translateY(0) scaleY(1); }
}
@keyframes shineSweep {
    0%   { left: -80%; }
    100% { left: 130%; }
}
@keyframes titlePop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.07); }
    100% { transform: scale(1); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: inset 0 0 0 2px rgba(255,255,255,0); }
    50%       { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.32); }
}

/* ── Accordion container ── */
.image-accordion {
    display: flex; height: 500px; width: 100%;
    overflow: hidden; gap: 3px; background: #111;
}
.image-accordion--compact { height: 400px; }

/* ── Entrance animation on scroll ── */
.image-accordion.accordion--visible .accordion-item {
    animation: accordionSlideUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.image-accordion.accordion--visible .accordion-item:nth-child(1) { animation-delay: 0.00s; }
.image-accordion.accordion--visible .accordion-item:nth-child(2) { animation-delay: 0.10s; }
.image-accordion.accordion--visible .accordion-item:nth-child(3) { animation-delay: 0.20s; }
.image-accordion.accordion--visible .accordion-item:nth-child(4) { animation-delay: 0.30s; }
.image-accordion.accordion--visible .accordion-item:nth-child(5) { animation-delay: 0.38s; }
.image-accordion.accordion--visible .accordion-item:nth-child(6) { animation-delay: 0.46s; }

/* ── Accordion item ── */
.accordion-item {
    position: relative; flex: 1; cursor: pointer; overflow: hidden;
    transition: flex 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.active {
    flex: 3;
    animation: glowPulse 2.4s ease-in-out 0.65s 2;
}
.accordion-item:not(.active):hover { flex: 1.25; }

/* ── Background ── */
.accordion-background {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), filter 0.65s ease;
    filter: brightness(0.72) saturate(1.1);
    will-change: transform;
}
.accordion-item:hover .accordion-background,
.accordion-item.active .accordion-background {
    transform: scale(1.06);
    filter: brightness(0.88) saturate(1.25);
}

/* ── Shine sweep ── */
.accordion-background::after {
    content: ''; position: absolute; top: -50%; left: -80%;
    width: 50%; height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
    transform: skewX(-15deg); pointer-events: none; opacity: 0;
}
.accordion-item:hover .accordion-background::after {
    opacity: 1;
    animation: shineSweep 0.7s ease forwards;
}

/* ── Overlay ── */
.accordion-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.08) 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 20px 16px; transition: background .4s ease;
}
.accordion-item:hover .accordion-overlay,
.accordion-item.active .accordion-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.36) 50%, rgba(0,0,0,.12) 100%);
}

/* ── Content ── */
.accordion-content {
    color: #fff; width: 100%; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    transform: translateY(10px);
    transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}
.accordion-item:hover .accordion-content,
.accordion-item.active .accordion-content { transform: translateY(0); }

/* ── Title ── */
.accordion-title {
    font-size: 1rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
    white-space: nowrap; overflow: hidden;
    transition: font-size .45s cubic-bezier(0.22, 1, 0.36, 1), letter-spacing .45s ease;
    line-height: 1.2;
}
.accordion-item.active .accordion-title,
.accordion-item:hover .accordion-title {
    font-size: 2.1rem; letter-spacing: .13em;
    animation: titlePop .45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.image-accordion--compact .accordion-title { font-size: .82rem; }
.image-accordion--compact .accordion-item.active .accordion-title,
.image-accordion--compact .accordion-item:hover .accordion-title { font-size: 1.75rem; }

/* ── Button (slides up) ── */
.accordion-button {
    display: inline-block;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.45); color: #fff;
    padding: 8px 22px; border-radius: 999px;
    font-family: inherit; font-weight: 600; font-size: .78rem;
    letter-spacing: .07em; text-transform: uppercase; cursor: pointer;
    transition: background .25s ease, border-color .25s ease,
                transform .4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity .35s ease, box-shadow .25s ease;
    opacity: 0; pointer-events: none;
    transform: translateY(16px);
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.accordion-item.active .accordion-button,
.accordion-item:hover .accordion-button {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.accordion-button:hover {
    background: rgba(255,255,255,0.32); border-color: rgba(255,255,255,0.85);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 22px rgba(0,0,0,.30);
}

.accordion-item:focus-visible {
    outline: 3px solid rgba(45,138,78,.7); outline-offset: -3px; z-index: 2;
}

/* ── CTA below accordions ── */
.products-cta {
    text-align: center; padding: 44px 20px 0;
}
.products-cta__sub {
    font-size: 0.95rem; color: var(--text-muted); margin-bottom: 18px;
}
.products-cta__btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-green); color: #fff;
    padding: 13px 32px; border-radius: 999px;
    font-weight: 700; font-size: 0.97rem; letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(45,138,78,0.25);
    transition: background .25s, transform .25s, box-shadow .25s;
}
.products-cta__btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,138,78,0.35);
}

/* ── Mobile accordion entrance keyframe ── */
@keyframes accordionMobileFadeIn {
    from { opacity: 0; transform: translateY(34px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Pulse ring when a card activates on mobile */
@keyframes mobileCardActivate {
    0%   { box-shadow: 0 8px 24px rgba(0,0,0,0.24), 0 0 0 0 rgba(255,255,255,0.28); }
    60%  { box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 0 8px rgba(255,255,255,0); }
    100% { box-shadow: 0 12px 32px rgba(0,0,0,0.30), 0 0 0 0 rgba(255,255,255,0); }
}

/* ── Mobile: 2-col grid ── */
@media (max-width: 820px) {
    /* Container — edge-to-edge, near-seamless grid */
    .image-accordion,
    .image-accordion--compact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
        gap: 4px;
        padding: 0 4px;
        background: transparent;
    }

    /* Card base */
    .accordion-item {
        height: 190px;
        border-radius: 12px;
        overflow: hidden;
        flex: unset !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
        opacity: 0;
        transform: translateY(34px);
        -webkit-tap-highlight-color: transparent;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                    box-shadow 0.32s ease;
    }

    /* Staggered entrance */
    .accordion--visible .accordion-item {
        animation: accordionMobileFadeIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    }
    .accordion--visible .accordion-item:nth-child(1) { animation-delay: 0.00s; }
    .accordion--visible .accordion-item:nth-child(2) { animation-delay: 0.10s; }
    .accordion--visible .accordion-item:nth-child(3) { animation-delay: 0.20s; }
    .accordion--visible .accordion-item:nth-child(4) { animation-delay: 0.30s; }
    .accordion--visible .accordion-item:nth-child(5) { animation-delay: 0.38s; }
    .accordion--visible .accordion-item:nth-child(6) { animation-delay: 0.46s; }

    /* Active card: lift + emphasis — must keep opacity:1! */
    .accordion-item.active {
        opacity: 1 !important;
        transform: scale(1.02) !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        z-index: 2;
    }

    /* Background */
    .accordion-background {
        filter: brightness(0.55) saturate(1.2) !important;
        transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
                    filter 0.42s ease !important;
    }
    .accordion-item.active .accordion-background {
        transform: scale(1.08) !important;
        filter: brightness(0.78) saturate(1.3) !important;
    }

    /* Overlay: resting = deep bottom glow only; active = fuller */
    .accordion-overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.72) 0%,
            rgba(0,0,0,0.18) 45%,
            rgba(0,0,0,0.04) 100%
        ) !important;
        padding: 14px 10px;
        transition: background 0.35s ease !important;
    }
    .accordion-item.active .accordion-overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.88) 0%,
            rgba(0,0,0,0.48) 55%,
            rgba(0,0,0,0.12) 100%
        ) !important;
    }

    /* Content: anchored to bottom center, no desktop Y-translate */
    .accordion-content {
        transform: translateY(0) !important;
        transition: gap 0.3s ease !important;
        justify-content: flex-end;
        gap: 6px;
        padding-bottom: 4px;
    }
    .accordion-item.active .accordion-content {
        gap: 10px !important;
    }

    /* Title: always visible, grows on active */
    .accordion-title {
        font-size: 0.85rem !important;
        letter-spacing: .10em !important;
        white-space: normal !important;
        line-height: 1.2;
        animation: none !important;
        transition: font-size 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                    letter-spacing 0.32s ease !important;
    }
    .accordion-item.active .accordion-title {
        font-size: 1.0rem !important;
        letter-spacing: .13em !important;
        animation: none !important;
    }

    /* Button: HIDDEN by default, slides up on tap */
    .accordion-button {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(14px) !important;
        font-size: 0.64rem !important;
        padding: 6px 16px !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: opacity 0.28s ease,
                    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    /* Reveal button only when card is tapped (.active) */
    .accordion-item.active .accordion-button {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
    .accordion-button:active {
        background: rgba(255,255,255,0.38) !important;
    }

    /* Compact row */
    .image-accordion--compact .accordion-item { height: 160px; }
    .image-accordion--compact .accordion-title { font-size: .76rem !important; }
    .image-accordion--compact .accordion-item.active .accordion-title { font-size: 0.9rem !important; }

    /* Breathing room between category groups */
    .category-group { margin-bottom: 28px; }
    .category-group:last-of-type { margin-bottom: 36px; }
}

/* Filter Buttons */
.filter-buttons {
    display: flex; justify-content: center;
    gap: 10px; margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
    padding: 12px 22px;
    min-height: 44px;
    border: 2px solid var(--border-color);
    background: white; color: var(--text-dark);
    border-radius: 25px; cursor: pointer;
    font-size: 1rem; font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

/* ============================
   PRODUCT CARDS (BEM + old style)
   ============================ */
.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    animation: fadeInUp 0.6s ease both;
}
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.10s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.20s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.30s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.40s; }

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}
.product-card.animate {
    opacity: 1; transform: translateY(0);
}

/* BEM image block */
.product-card__image {
    width: 100%; height: 220px;
    overflow: hidden; position: relative;
    background: #f5f5f5;
}
.product-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.08); }

/* Old-style image block (script.js) */
.product-image {
    position: relative; height: 220px; overflow: hidden;
    background: #f5f5f5;
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-card:hover .product-image img { transform: scale(1.08); }

/* Badge */
.product-badge {
    position: absolute; top: 10px; right: 10px;
    background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
    color: white; padding: 6px 14px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 700; z-index: 2;
}

/* View detail overlay */
.view-detail {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white; text-align: center;
    padding: 40px 15px 15px; font-weight: 600;
    opacity: 0; transform: translateY(10px);
    transition: all 0.3s ease;
}
.product-card:hover .view-detail { opacity: 1; transform: translateY(0); }
.view-detail i { margin-right: 8px; }

/* BEM info block */
.product-card__info { padding: 18px; }
.product-card__title {
    font-size: 1.1rem; font-weight: 700;
    color: var(--text-dark); margin-bottom: 8px; line-height: 1.4;
}
.product-card__origin {
    color: var(--primary-green); font-size: 0.9rem;
    display: flex; align-items: center; gap: 5px; margin-bottom: 12px;
}
.product-card__price {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.product-card__price-value {
    font-size: 1.3rem; font-weight: 800; color: var(--primary-green);
}
.product-card__unit { font-size: 0.85rem; color: var(--text-muted); }

/* Old-style info block (script.js) */
.product-info { padding: 20px; }
.product-info h3 { margin-bottom: 10px; font-size: 1.15rem; color: var(--text-dark); }
.product-info .origin {
    color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px;
}
.product-info .origin i { color: var(--green-50); margin-right: 5px; }
.product-price {
    display: flex; align-items: center; justify-content: space-between; margin-top: 15px;
}
.price {
    font-size: 1.3rem; font-weight: 700; color: var(--primary-green);
}
.price span { font-size: 0.9rem; color: #6b6b6b; font-weight: 400; }

/* Contact for Price */
.price--contact {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.88rem; font-weight: 600;
    color: #e07b2a;
    background: #fff7f0;
    border: none;
    border-radius: 999px;
    padding: 5px 14px;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 4px rgba(244, 121, 32, 0.12);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.price--contact i { font-size: 0.75rem; opacity: 0.85; }
.product-card:hover .price--contact {
    background: #ffeedd;
    box-shadow: 0 2px 8px rgba(244, 121, 32, 0.2);
    transform: translateY(-1px);
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fff0 100%);
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info { font-style: normal; }
.contact-item {
    display: flex; align-items: flex-start; gap: 15px;
    margin-bottom: 25px; padding: 20px;
    background: white; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(76,175,80,0.15);
}
.contact-item i {
    font-size: 1.5rem; color: white;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item h4 { margin-bottom: 5px; color: var(--text-dark); }
.contact-item p  { color: var(--text-muted); }
.contact-item a  { color: #4a4a4a; transition: color 0.2s; }
.contact-item a:hover { color: var(--green-50); }

.contact-form {
    display: flex; flex-direction: column; gap: 15px;
    background: white; padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem; font-family: inherit;
    transition: all 0.3s;
    background: white; color: var(--text-dark);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green-50);
    box-shadow: 0 0 0 4px rgba(76,175,80,0.1);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { align-self: stretch; }
.form-note { text-align: center; margin-top: 10px; color: #555; font-size: 0.9rem; }

/* ============================
   FOOTER
   ============================ */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white; padding: 60px 0 20px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
}
.footer-content {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-section h3 {
    font-size: 1.5rem; margin-bottom: 15px;
    display: flex; align-items: center; gap: 10px;
}
.footer-section h3 .logo-icon {
    width: 36px;
    height: 36px;
    /* Make the SVG logo pop more on the dark footer background. */
    filter: brightness(1.25) saturate(1.15) contrast(1.05);
}
.footer-section h4 { margin-bottom: 15px; }
.footer-section p  { color: #d5dbe0; }
.footer-section a {
    display: block; color: #d5dbe0; padding: 8px 0;
    min-height: 44px; display: flex; align-items: center;
    transition: color 0.3s;
}
.footer-section a:hover { color: #90EE90; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.social-links a:hover {
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    color: white;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 20px rgba(76,175,80,0.4);
}

.footer-bottom {
    text-align: center; padding-top: 20px;
    border-top: 1px solid #3d4447; color: #d5dbe0;
}

/* ============================
   PRODUCT DETAIL MODAL
   ============================ */
.modal {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}
.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 700px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Modal scrollbar — thinner & softer */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 138, 78, 0.45) transparent;
}
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-track { background: transparent; }
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(45, 138, 78, 0.35);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.95);
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 138, 78, 0.55);
}
.product-modal .modal-content {
    max-width: 700px; padding: 0;
    /* Allow scroll on desktop; body is already locked by JS when modal opens. */
    overflow-y: auto;
    overflow-x: hidden;
}
.product-detail-content {
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
}

/* Close button — minimal floating pill */
.close-modal {
    position: absolute; top: 12px; right: 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border: none;
    font-size: 1.1rem; color: #666; cursor: pointer;
    z-index: 10; transition: all 0.2s ease;
    width: 44px; height: 44px;
    min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    line-height: 1;
}
.close-modal:hover {
    background: #fff;
    color: #333;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.16);
}

/* Gallery */
.product-detail { padding: 0; }
.product-detail-gallery { position: relative; }
.main-image {
    width: 100%; height: 280px;
    overflow: hidden;
    background: #f8f8f6;
    position: relative; cursor: zoom-in;
}
.main-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.main-image:hover img { transform: scale(1.04); }
.image-zoom-overlay {
    position: absolute; top: 10px; right: 10px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #555; font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Thumbnail strip */
.thumbnail-list {
    display: flex; gap: 8px;
    padding: 10px 14px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    scrollbar-width: none;
}
.thumbnail-list::-webkit-scrollbar { display: none; }
.thumbnail-list img {
    width: 56px; height: 56px; object-fit: cover;
    border-radius: var(--radius-sm); cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.thumbnail-list img:hover { transform: scale(1.05); }
.thumbnail-list img.active {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(45, 138, 78, 0.15);
}

/* Info section */
.product-detail-info { padding: 22px 22px 18px; }

/* Category badge — soft, no gradient */
.product-category-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: #eef7f1;
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.product-detail-info h2 {
    font-size: 1.55rem; font-weight: 800;
    color: var(--text-dark); margin-bottom: 8px;
    line-height: 1.3;
}

/* Description — explicitly neutral gray, no inheritance */
.product-description {
    color: #4a4f56 !important;
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

/* Meta info */
.product-meta {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}
.meta-item {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.88rem;
}
.meta-item i { color: var(--primary-green); font-size: 0.95rem; width: 16px; text-align: center; }
.meta-item strong { color: var(--text-dark); font-weight: 600; }
.meta-item .in-stock {
    color: #27ae60; font-weight: 600;
}

/* Price detail area */
.product-price-detail {
    display: flex; align-items: center;
    margin-bottom: 18px;
}
.current-price {
    font-size: 1rem; font-weight: 700;
    color: var(--primary-green);
}
.original-price { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }

/* Contact for Price — Modal */
.price--contact-modal {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.95rem; font-weight: 700;
    color: #c86a1a;
    background: #fff4eb;
    border-radius: 999px;
    padding: 7px 18px;
    box-shadow: none;
}
.price--contact-modal i { font-size: 0.78rem; opacity: 0.8; }

/* Export section — softer */
.export-section {
    background: #f0faf3;
    border: 1px solid #d4edda;
    padding: 16px; border-radius: var(--radius-md);
    margin-bottom: 18px;
}
.export-section h4 {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-size: 0.9rem; font-weight: 700;
}
.export-countries {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.country-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; padding: 6px 12px; border-radius: 999px;
    font-size: 0.83rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: transform 0.2s ease; cursor: default;
}
.country-tag:hover { transform: translateY(-2px); }
.country-tag .flag       { font-size: 1rem; }
.country-tag .country-name { font-weight: 600; color: var(--text-dark); }
.country-tag .export-amount { font-size: 0.75rem; color: var(--primary-green); font-weight: 600; }

.export-stats { display: flex; gap: 10px; }
.export-stat {
    flex: 1; text-align: center;
    background: #fff; padding: 12px 8px;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.export-number {
    display: block; font-size: 1.6rem; font-weight: 800;
    color: var(--primary-green); line-height: 1.2;
}
.export-label { font-size: 0.78rem; color: #666; margin-top: 2px; display: block; }

/* Modal contact note */
.modal-contact-note {
    font-size: 0.85rem; color: #666;
    text-align: center; margin-top: 0;
    padding: 14px 0 4px;
    border-top: 1px solid #f0f0f0;
}
.modal-contact-note i { margin-right: 6px; color: var(--primary-green); font-size: 0.8rem; }

/* Product Actions */
.product-actions {
    display: flex; gap: 12px; margin-bottom: 18px;
}
.btn-wishlist {
    width: 48px; height: 48px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    background: white; border: 2px solid var(--border-color);
    color: var(--text-muted); cursor: pointer;
    transition: all 0.3s;
}
.btn-wishlist:hover {
    background: #ff5252; border-color: #ff5252; color: white;
}

.product-share {
    display: flex; align-items: center; gap: 12px;
    padding-top: 20px; border-top: 1px solid #eee;
}
.product-share span { color: #666; }
.product-share a {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: #f5f5f5; border-radius: 50%;
    color: #666; transition: all 0.3s ease;
}
.product-share a:hover {
    background: var(--green-50); color: white;
    transform: translateY(-3px);
}

/* Quantity Selector */
.quantity-selector { margin-bottom: 20px; }
.quantity-selector label { display: block; margin-bottom: 10px; font-weight: 600; }
.quantity-controls {
    display: flex; align-items: center;
    width: fit-content;
    border: 2px solid #e0e0e0; border-radius: 10px; overflow: hidden;
}
.qty-btn {
    width: 45px; height: 45px; border: none;
    background: #f5f5f5; cursor: pointer; transition: all 0.3s;
    font-size: 1rem;
}
.qty-btn:hover { background: var(--green-50); color: white; }
.quantity-controls input {
    width: 60px; height: 45px; border: none;
    text-align: center; font-size: 1.1rem; font-weight: 600;
}
.quantity-controls input:focus { outline: none; }

/* ============================
   IMAGE LIGHTBOX
   ============================ */
.lightbox {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center; justify-content: center;
    cursor: zoom-out;
}
.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}
.lightbox img {
    max-width: 90%; max-height: 90vh; object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    font-size: 2.5rem; color: white; cursor: pointer;
    transition: transform 0.3s, color 0.3s;
    z-index: 10001;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3); border-radius: 50%; border: none;
}
.lightbox-close:hover { color: var(--green-50); transform: rotate(90deg); }
.lightbox-nav {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 20px;
}
.lightbox-nav button {
    width: 60px; height: 60px; border-radius: 50%;
    border: 2px solid white;
    background: rgba(255,255,255,0.15);
    color: white; font-size: 1.5rem;
    cursor: pointer; transition: all 0.3s ease;
}
.lightbox-nav button:hover {
    background: var(--green-50); border-color: var(--green-50);
    transform: scale(1.1);
}

/* ============================
   NOTIFICATION / TOAST
   ============================ */
.notification {
    position: fixed; bottom: 30px; right: 30px;
    background: linear-gradient(135deg, var(--green-50), var(--green-light));
    color: white; padding: 15px 25px;
    border-radius: 10px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 9999;
}
.notification.show { transform: translateX(0); }
.notification.error { background: linear-gradient(135deg, #f44336, #ff5722); }

/* Toast Container */
.toast-container {
    position: fixed; bottom: 20px; right: 20px;
    z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast {
    padding: 14px 24px; border-radius: 10px;
    color: white; font-weight: 600;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.toast--visible { transform: translateX(0); }
.toast--success { background: linear-gradient(135deg, var(--green-50), var(--green-light)); }
.toast--error   { background: linear-gradient(135deg, #f44336, #ff5722); }
.toast--warning { background: linear-gradient(135deg, #ff9800, var(--accent-yellow)); }

/* ============================
   PERFORMANCE
   ============================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================
   RESPONSIVE — Tablet
   ============================ */
@media (max-width: 1024px) {
    .features .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================
   RESPONSIVE — Mobile
   ============================ */
@media (max-width: 768px) {
    /* Top bar: compact on mobile */
    .top-bar__inner {
        padding: 6px 12px;
        justify-content: center;
    }
    .top-bar__contact {
        gap: 4px;
        font-size: 0.68rem;
        justify-content: center;
    }
    .top-bar__link .fa-envelope,
    .top-bar__link .fa-phone-alt { font-size: 0.65rem; }
    .top-bar__social { display: none; }
    .header { top: 32px; }

    /* Mobile menu */
    .mobile-menu-btn { display: block; }
    .mobile-menu-close { display: block; }
    .nav {
        position: fixed; top: 0; right: 0;
        width: 280px; height: 100vh;
        background: white;
        flex-direction: column;
        padding: 70px 30px 30px;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0,0,0,0.2);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }
    .nav.active { transform: translateX(0); }
    .nav a {
        padding: 15px 0;
        min-height: 48px;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
        color: var(--text-dark);
    }

    /* Logo - adjust for mobile */
    .logo {
        font-size: 1.3rem;
        gap: 8px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
    }

    /* Hero */
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-stats {
        gap: 25px;
        margin-top: 30px;
    }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.8rem; }
    .slider-controls { bottom: 60px; gap: 12px; }
    .slider-btn { width: 40px; height: 40px; font-size: 0.9rem; }
    .slider-dots .dot { width: 10px; height: 10px; }
    .slider-dots .dot.active { width: 12px; height: 12px; }
    .hero-scroll { bottom: 25px; }
    .hero-scroll span { font-size: 0.9rem; opacity: 0.9; }

    /* Features */
    .features .container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .feature-item { padding: 25px 15px; }
    .feature-item i { font-size: 2rem; }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-text h2 { font-size: 2rem; }

    /* Products */
    .section-title { font-size: 1.8rem; }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    .filter-buttons { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 0.9rem; }

    /* Contact */
    .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Modal — bottom sheet on mobile */
    .modal {
        padding: 0;
        align-items: flex-end;
        justify-content: center;
    }
    .modal-content,
    .product-modal .modal-content {
        max-width: 100%;
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        overflow-y: auto;
        animation: slideUpMobile 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    }

    @keyframes slideUpMobile {
        from { transform: translateY(100%); opacity: 0.6; }
        to   { transform: translateY(0);    opacity: 1; }
    }

    /* Drag handle indicator */
    .product-detail-content::before {
        content: '';
        display: block;
        position: absolute;
        top: 8px; left: 50%;
        transform: translateX(-50%);
        width: 36px; height: 4px;
        background: #ddd;
        border-radius: 999px;
        z-index: 20;
    }

    .product-detail {
        display: flex;
        flex-direction: column;
    }
    .product-detail-gallery { flex-shrink: 0; }

    .main-image { height: 210px; }
    .main-image img { height: 100%; }

    .close-modal {
        top: 16px; right: 14px;
        width: 40px; height: 40px;
        min-width: 40px; min-height: 40px;
        font-size: 1rem;
    }

    .product-detail-info {
        padding: 20px 18px 24px;
        display: block !important;
    }
    .product-detail-info h2 { font-size: 1.3rem; }
    .product-description { font-size: 0.88rem !important; margin-bottom: 14px; }
    .product-meta { grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; padding-bottom: 14px; }
    .product-category-badge { font-size: 0.75rem; padding: 3px 10px; }

    .product-price-detail { margin-bottom: 14px; }
    .price--contact-modal { font-size: 0.88rem; padding: 6px 14px; }

    .export-section { padding: 14px; margin-bottom: 14px; }
    .export-stats { gap: 8px; }
    .export-stat { padding: 10px 6px; }
    .export-number { font-size: 1.3rem; }

    /* Lightbox */
    .lightbox img { max-width: 95%; }
    .lightbox-nav button { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* ============================
   RESPONSIVE — Small phones
   ============================ */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats {
        flex-direction: row;
        gap: 20px;
        margin-top: 30px;
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
        z-index: 5;
    }
    .stat-item {
        min-width: 80px;
    }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.75rem; }

    /* Move slider controls below stats on mobile */
    .slider-controls {
        bottom: 10px;
        gap: 6px;
        z-index: 3;
    }
    .slider-btn { width: 28px; height: 28px; font-size: 0.7rem; }
    .slider-dots .dot { width: 6px; height: 6px; }
    .slider-dots .dot.active { width: 8px; height: 8px; }

    /* Hide scroll indicator on small phones */
    .hero-scroll { display: none; }

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

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

    .contact-form { padding: 20px; }

    .about-text h2 { font-size: 1.6rem; }
}

/* ============================
   iPhone notch / safe area
   ============================ */
@supports (padding: env(safe-area-inset-top)) {
    .header { padding-top: env(safe-area-inset-top); }
    .footer { padding-bottom: env(safe-area-inset-bottom); }
    .scroll-top { bottom: calc(15px + env(safe-area-inset-bottom)); }
}
