/* css/styles.css */

:root {
    --color-primary: #1b4332;
    --color-primary-light: #2d6a4f;
    /* Pastel chrome: fills, header text on light, wordmark on dark hero */
    --color-accent-green: #52a447;
    --color-accent-green-hover: #458339;
    --color-pastel-green: #c8e6c9;
    --color-pastel-green-hover: #a3d4b0;
    --color-pastel-green-text: #2d5a45;
    --color-pastel-green-wordmark: #3a6b55;
    --color-pastel-green-hero: #b2dfdb;
    --color-brand-light-green: var(--color-pastel-green);
    --color-brand-light-green-hover: var(--color-pastel-green-hover);
    --color-bg-main: #f8f9fa; /* slightly more clean white/light gray */
    --color-bg-secondary: #fefdfb; /* light beige for sections */
    --color-white: #ffffff;
    --color-text-dark: #1f2937;
    --color-text-light: #4b5563;
    
    --shadow-soft: 0 10px 25px -5px rgba(27, 67, 50, 0.08);
    --shadow-hover: 0 20px 30px -10px rgba(27, 67, 50, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* TYPOGRAPHY — Poppins for body, headings, UI, and logo wordmark */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

.text-center { text-align: center; }
.section-padding { padding: 80px 0; }

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111111;
}

.bg-white { background-color: var(--color-white); }
.bg-secondary { background-color: var(--color-bg-secondary); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1.1rem;
    gap: 8px;
}

.btn svg {
    width: 20px;
    height: 20px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero .btn-primary {
    background-color: var(--color-accent-green);
    color: var(--color-white);
}

.hero .btn-primary:hover {
    background-color: var(--color-accent-green-hover);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* GLASS EFFECT */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* -------------------------------------
   HEADER
------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.35s ease, color 0.35s ease, padding 0.35s ease,
        border-color 0.35s ease, box-shadow 0.35s ease;
    padding: 24px 0;
    /* Liquid glass — always on */
    backdrop-filter: blur(18px) saturate(175%);
    -webkit-backdrop-filter: blur(18px) saturate(175%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Over hero: lighter frost + light text */
.header:not(.scrolled) {
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.93);
}

/* Over page body: stronger frost + primary text — still glass, not solid */
.header.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.48);
    border-bottom-color: rgba(255, 255, 255, 0.38);
    color: var(--color-pastel-green-text);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 6px 24px rgba(0, 0, 0, 0.06);
}

.header:not(.scrolled) .nav-links a,
.header:not(.scrolled) .logo {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.header .container,
.header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
    width: 100%;
    /* Logo flush to viewport start; safe area on notched devices */
    padding-inline-start: max(0px, env(safe-area-inset-left));
    padding-inline-end: max(20px, env(safe-area-inset-right));
}

.header-inner {
    gap: 12px;
}

/* Mobile: flag + hamburger (hidden on desktop via media query) */
.header-mobile-tools {
    display: none;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.lang-switch-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.lang-switch-mobile:hover {
    opacity: 0.92;
    transform: scale(1.04);
}

.lang-switch-mobile:active {
    transform: scale(0.94);
    opacity: 0.88;
}

.header.scrolled .lang-switch-mobile {
    background: rgba(0, 0, 0, 0.06);
    color: #111111;
}

.header:not(.scrolled) .lang-switch-mobile {
    color: #ffffff;
}

.lang-switch-mobile__icon {
    font-size: 1.35rem;
    line-height: 1;
    pointer-events: none;
}

@media (min-width: 769px) {
    .header-mobile-tools {
        display: none !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-wordmark {
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    /* Pull wordmark tight against the mark (logo PNG includes padding) */
    margin-inline-start: -18px;
}

.header:not(.scrolled) .logo-wordmark {
    color: #ffffff;
}

.header.scrolled .logo-wordmark {
    color: var(--color-accent-green);
}

.header:not(.scrolled) .nav-links a {
    color: #ffffff;
}

.header.scrolled .nav-links a {
    color: #111111;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.header.scrolled .logo img {
    filter: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

html[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

.lang-toggle {
    font-weight: 600;
    padding: 6px 16px;
    border: 1px solid currentColor;
    border-radius: 20px;
    font-size: 0.95rem;
}

.lang-toggle:hover {
    background-color: currentColor;
    color: var(--color-white);
}
.header:not(.scrolled) .lang-toggle {
    color: #ffffff;
}
.header:not(.scrolled) .lang-toggle:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: #111111;
}

.header.scrolled .lang-toggle {
    color: #111111;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* -------------------------------------
   HERO SECTION
------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
}

/* Fallback background if image fails */
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: none;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
    width: 100%;
    text-align: center;
    /* Move hero headline + subtitle + buttons down from vertical center: edit margin-top */
    margin-top: 200px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* -------------------------------------
   CATEGORY SCROLL BANNER
------------------------------------- */
.category-scroll-container {
    width: calc(100% - 20px); /* 10px space on each end */
    margin: 0 auto;
    background-color: rgba(27, 67, 50, 0.04);
    border-radius: 100px;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    /* Subtle fade effect on the left and right edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.category-scroll-content {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 0 10px; /* Space on inner track ends */
    animation: scroll-left 40s linear infinite;
}

html[dir="rtl"] .category-scroll-content {
    animation: scroll-right 40s linear infinite;
}

.category-scroll-container:hover .category-scroll-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--color-text-dark);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.05rem;
}

.category-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.1);
    color: var(--color-primary);
}

.category-pill svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

/* -------------------------------------
   ABOUT SECTION (scroll-driven reveal)
------------------------------------- */
.about-scroll-stage {
    position: relative;
}

.about-scroll-stage:not(.js-ready) {
    min-height: 0;
}

.about-scroll-stage.js-ready {
    --about-stage-extra: 280vh;
    min-height: calc(100vh + var(--about-stage-extra));
}

.about-pin {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    background-color: var(--color-primary);
}

.about-scroll-stage:not(.js-ready) .about-pin {
    position: relative;
    min-height: 0;
}

.about-pin::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("/assets/images/aboutUs_veggies.webp") center / cover no-repeat;
}

.about-pin::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.about.about--reveal {
    position: relative;
    z-index: 2;
    width: 100%;
    background: transparent;
    overflow: visible;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about .section-title {
    color: #ffffff;
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
}

.about-reveal-shell {
    position: relative;
    max-width: 42rem;
    margin: 0 auto;
}

.about-scroll-stage.js-ready .about-reveal-fallback {
    display: none;
}

.about-reveal {
    text-align: center;
}

.about-line {
    --line-pct: 0%;
    font-size: clamp(1.05rem, 2.8vw, 1.28rem);
    font-weight: 400;
    line-height: 1.75;
    margin: 0 auto 1rem;
    max-width: 36em;
    letter-spacing: 0.01em;
    transition: color 0.05s linear;
    color: rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.about-line:last-child {
    margin-bottom: 0;
}

@supports (color: color-mix(in srgb, red, blue)) {
    .about-line {
        color: color-mix(
            in srgb,
            #ffffff var(--line-pct, 0%),
            rgba(255, 255, 255, 0.32)
        );
    }
}

.about-scroll-stage.about-reduced-motion .about-text--static {
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.8;
    white-space: pre-line;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    margin: 0 auto;
    max-width: 36em;
}

.about-text.about-reveal-fallback {
    font-size: 1.25rem;
    color: #ffffff;
    max-width: 36em;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
    white-space: pre-line;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.about-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-copy {
    text-align: center;
}

.about-copy .section-title {
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    max-width: 36em;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
    white-space: pre-line;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-media {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}

/* -------------------------------------
   CATEGORIES SECTION
/* ===============================
   CATEGORIES GRID
================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ===============================
   CARD (flat grid; image-only motion on hover)
================================ */
button.category-card {
    border: none;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    background: linear-gradient(145deg, #ffffff, #f3f6f9);
    border-radius: 22px;
    padding: 26px 16px;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;

    box-shadow: 
        0 10px 25px rgba(0,0,0,0.08),
        0 4px 10px rgba(0,0,0,0.05);

    transition: box-shadow 0.4s ease;
}

/* glow border */
.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, transparent, rgba(0,180,120,0.25), transparent);
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* hover: card shell + title stay fixed; only image animates */
.category-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.category-card:hover {
    box-shadow:
        0 25px 50px rgba(0,0,0,0.15),
        0 15px 25px rgba(0,0,0,0.1);
}

.category-card:hover::before {
    opacity: 1;
}

/* ===============================
   IMAGE WRAP (FLOATING)
================================ */
.category-image-wrap {
    width: 100%;
    flex: 0 0 auto;
    height: 130px;
    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* shadow under image */
.category-image-wrap::after {
    content: "";
    position: absolute;
    bottom: 10px;
    width: 60%;
    height: 14px;
    background: rgba(0,0,0,0.18);
    filter: blur(12px);
    border-radius: 50%;
    z-index: 0;
}

/* IMAGE — only this layer moves on hover */
.category-image-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;

    position: relative;
    z-index: 1;

    transform: translateY(0) scale(1);
    transition: transform 0.4s ease;
    will-change: transform;
}

.category-card:hover .category-image-wrap img {
    transform: translateY(-8px) scale(1.08);
}

/* ===============================
   TITLE
================================ */
.category-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: 0.3px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: #0aa96e;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -------------------------------------
   CATEGORY PRODUCTS MODAL
------------------------------------- */
.products-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 3vw, 28px);
}

.products-modal.is-visible {
    display: flex;
}

.products-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 11, 0.66);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.products-modal__dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: min(86vh, 860px);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(27, 67, 50, 0.08);
    overflow: hidden;
    transform: translateY(22px) scale(0.94);
    opacity: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    outline: none;
}

.products-modal.is-closing .products-modal__overlay {
    transition: opacity 0.26s ease;
}

.products-modal.is-closing .products-modal__dialog {
    transition: transform 0.26s ease, opacity 0.26s ease;
}

.products-modal.is-active .products-modal__overlay {
    opacity: 1;
}

.products-modal.is-active .products-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.products-modal__header {
    padding: clamp(18px, 2.6vw, 26px) clamp(20px, 2.8vw, 30px) 12px;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.products-modal__title {
    margin: 0;
    padding-inline-end: 44px;
    color: #111111;
    font-size: clamp(1.15rem, 2.1vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.products-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(27, 67, 50, 0.08);
    color: var(--color-primary);
    font-size: 1.45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.products-modal__close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.products-modal__dialog:focus-visible {
    outline: none;
}

.products-modal__close:hover {
    transform: scale(1.05);
    background: rgba(27, 67, 50, 0.14);
    box-shadow: 0 8px 16px rgba(27, 67, 50, 0.16);
}

.products-modal__close:active {
    transform: scale(0.94);
}

.products-modal__content {
    padding: clamp(18px, 2.8vw, 30px);
    overflow: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.product-card {
    border-radius: 18px;
    padding: 14px;
    background: linear-gradient(145deg, #ffffff, #f7faf8);
    border: 1px solid rgba(27, 67, 50, 0.09);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(27, 67, 50, 0.24);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.11);
}

.product-card__image-wrap {
    border-radius: 14px;
    height: 150px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 67, 50, 0.03);
    overflow: hidden;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__name {
    margin: 12px 2px 2px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: center;
    line-height: 1.4;
}

.products-modal__empty {
    display: grid;
    place-items: center;
    min-height: 180px;
    margin: 0;
    color: var(--color-text-light);
    font-size: 1rem;
    text-align: center;
}

.products-modal__empty[hidden] {
    display: none;
}

.products-modal__actions {
    margin-top: clamp(20px, 3vw, 28px);
    padding-top: clamp(16px, 2.5vw, 22px);
    border-top: 1px solid rgba(27, 67, 50, 0.1);
    display: flex;
    justify-content: center;
}

.products-modal__explore-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

html[dir="rtl"] .products-modal__close {
    right: auto;
    left: 14px;
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .products-modal {
        padding: 10px;
    }

    .products-modal__dialog {
        max-height: 92vh;
        border-radius: 18px;
    }

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

    .product-card__image-wrap {
        height: 130px;
    }
}

/* -------------------------------------
   FEATURES SECTION (same split layout + image as About; simple bullet points)
------------------------------------- */
.features {
    background-color: var(--color-white);
}

.features-copy {
    text-align: start;
}

.features-copy .section-title {
    text-align: start;
    margin-bottom: 1.5rem;
}

.features-points {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 40em;
}

.features-points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.15rem;
}

.features-points li:last-child {
    margin-bottom: 0;
}

.features-points__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.features-points__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.features-points__title {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.35;
}

.features-points__desc {
    font-size: 0.98rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.55;
}

/* -------------------------------------
   FAQ SECTION (mobile-first accordion)
------------------------------------- */
.faq .section-title {
    margin-bottom: 1.5rem;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 67, 50, 0.08);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.faq-item.is-open {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: var(--color-text-dark);
    text-align: start;
    min-height: 3.25rem;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.faq-question-text {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.45;
}

.faq-icon-wrap {
    flex-shrink: 0;
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(27, 67, 50, 0.08);
    color: var(--color-primary);
}

.faq-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.35s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s ease;
}

.faq-item.is-open .faq-answer-panel {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-answer-inner p {
    margin: 0;
    padding: 0 16px 16px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-light);
}

.faq-item.is-open .faq-answer-inner {
    border-top: 1px solid rgba(27, 67, 50, 0.08);
}

.faq-item.is-open .faq-answer-inner p {
    padding-top: 12px;
}

@media (min-width: 768px) {
    .faq .section-title {
        margin-bottom: 2rem;
    }

    .faq-list {
        gap: 12px;
    }

    .faq-question {
        padding: 18px 22px;
    }

    .faq-answer-inner p {
        padding: 0 22px 20px;
        font-size: 1.02rem;
    }

    .faq-item.is-open .faq-answer-inner p {
        padding-top: 14px;
    }
}

/* -------------------------------------
   CONTACT & LOCATION SECTION
------------------------------------- */
.contact-wrapper {
    display: flex;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    min-height: 450px;
}

.contact-info {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(27,67,50,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text p, .contact-text a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

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

.map-container {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #e5e5e5;
    min-height: 0;
}

.map-location-note {
    margin: 0;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(27, 67, 50, 0.1);
    flex-shrink: 0;
}

.map-embed-wrap {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.map-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* -------------------------------------
   FOOTER
------------------------------------- */
.footer {
    background: var(--color-accent-green);
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
}

/* -------------------------------------
   RESPONSIVE DESIGN
------------------------------------- */

@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    
    .categories-grid { gap: 20px; }
    .category-card { padding: 30px 15px; }
    
    .contact-wrapper { flex-direction: column; }
    .map-embed-wrap { min-height: 320px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 2rem; margin-bottom: 30px; }
    
    .header { padding: 15px 0; }

    .header:not(.scrolled) {
        background: rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(10px) saturate(160%);
        -webkit-backdrop-filter: blur(10px) saturate(160%);
    }

    .header.scrolled {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px) saturate(160%);
        -webkit-backdrop-filter: blur(10px) saturate(160%);
    }
    
    /* Mobile Menu styles */
    .header-mobile-tools {
        display: flex;
    }

    .lang-switch-mobile {
        display: flex;
    }

    /* Icon-only switch in bar; desktop text links stay in .nav-right on larger screens */
    .nav-right > .lang-toggle {
        display: none !important;
    }

    .menu-toggle { display: flex; }
    
    .nav-right {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 100;
    }
    
    html[dir="rtl"] .nav-right {
        left: auto;
        right: -100%;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-right.active { left: 0; }
    html[dir="rtl"] .nav-right.active { right: 0; }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .nav-links a {
        color: var(--color-text-dark);
        font-size: 1.25rem;
        display: block;
    }

    /* Drawer is white: keep links dark even when header is still over hero */
    .header:not(.scrolled) .nav-right .nav-links a {
        color: #111111;
    }
    
    .nav-right.active .lang-toggle {
        color: #111111;
        border-color: currentColor;
    }
    
    .header.scrolled .menu-toggle { color: #111111; }
    .header:not(.scrolled) .menu-toggle { color: #ffffff; }
    .header:not(.scrolled) .menu-toggle.active { color: #ffffff; }
    
    /* Layout Adjustments */
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .btn { width: 100%; }
    
    .about-text { font-size: 1.1rem; }
    .features-points__title { font-size: 1.02rem; }
    .features-points__desc { font-size: 0.94rem; }
    .features-points__icon { width: 40px; height: 40px; }
    
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    
    
    .contact-info { padding: 40px 30px; }
    .contact-item { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.25rem; }
    
    .offer-card { padding: 30px 20px; }
    .offer-title { font-size: 1.5rem; }
}

/* -------------------------------------
   DISABLE GLASS ON MOBILE (Performance)
------------------------------------- */
@media (max-width: 768px) {
    .glass-panel {
        background: var(--color-white);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: var(--shadow-soft);
        border: none;
    }
}
