/* Ammoura International Trading — King Fresh brand */
:root {
    /* Brand tokens (kept as --green-* for layout compatibility; values = burgundy) */
    --green-900: #3d0f16;
    --green-800: #5c1520;
    --green-700: #6b1e2a;
    --green-600: #8b2e3a;
    --green-100: #f3e8ea;
    --green-50: #fbf6f4;
    --gold: #c9a227;
    --gold-light: #d4af37;
    --forest: #1b4d3e;
    --cream: #f7f1e8;
    --white: #ffffff;
    --gray-50: #faf8f5;
    --gray-100: #f0ebe4;
    --gray-200: #e2d9cf;
    --gray-400: #9a8f84;
    --gray-600: #5c534c;
    --gray-800: #2e2926;
    --black: #1a1412;
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 8px 30px rgba(92, 21, 32, 0.1);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--green-900);
    position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Fixed cinematic atmosphere behind all pages */
.site-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.atm-layer {
    position: absolute;
    inset: -12%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.12) translate3d(0, 0, 0);
    transition: opacity 1.1s ease;
    will-change: transform, opacity;
    filter: saturate(1.08) contrast(1.05);
}
.atm-layer.is-on { opacity: 1; }
.atm-veil {
    position: absolute;
    inset: 0;
    /* ~10% less opaque than before so produce photos read clearer on mobile */
    background:
        linear-gradient(180deg, rgba(61, 15, 22, 0.42) 0%, rgba(26, 20, 18, 0.28) 42%, rgba(61, 15, 22, 0.48) 100%),
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 162, 39, 0.16), transparent 55%);
}
.atm-grain {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

/* Header — solid dark like footer, white text */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-h);
    background: var(--green-900);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 3px solid var(--gold);
    transition: box-shadow .3s;
}
.site-header.scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    background: var(--green-900);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: .75rem; }
.header-inner .main-nav { margin-inline-start: auto; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.logo-img { display: block; object-fit: contain; flex-shrink: 0; }
.logo-img--header { height: 48px; width: auto; max-width: 56px; }
.logo-img--footer { height: 56px; width: auto; max-width: 64px; }
.logo-text { line-height: 1; color: #fff; }
.logo-mark {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: #fff; border-radius: 10px; font-size: 1.1rem;
}
.main-nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.main-nav a {
    color: rgba(255, 255, 255, 0.82); text-decoration: none; font-weight: 500; font-size: .9rem;
    padding: .35rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
.header-tools { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.lang-switch { display: inline-flex; gap: .35rem; align-items: center; margin-inline-start: .75rem; }
.lang-switch a {
    color: rgba(255,255,255,.75); text-decoration: none; font-size: .8rem; font-weight: 600;
    padding: .2rem .45rem; border: 1px solid transparent; border-radius: 6px;
}
.lang-switch a.is-active { color: var(--gold-light); border-color: rgba(201,162,39,.5); }
.lang-switch__sep { color: rgba(255,255,255,.35); font-size: .75rem; user-select: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.nav-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999;
}
.nav-backdrop.visible { display: block; }

.main-content { padding-top: var(--header-h); position: relative; z-index: 1; }

/* Hero */
.hero { position: relative; padding: 5rem 0 4rem; overflow: hidden; }
.hero-home {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    background: #1a1412;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(201, 162, 39, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 90%, rgba(107, 30, 42, 0.08) 0%, transparent 50%),
        linear-gradient(155deg, var(--cream) 0%, #fff 48%, var(--green-100) 100%);
    z-index: 0;
}
.hero-bg--cinema {
    background: #1a1412;
    overflow: hidden;
}
.hero-slides {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity .45s ease;
    overflow: hidden;
    pointer-events: none;
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: translate3d(0, 0, 0) scale(1.12);
    -webkit-transform: translate3d(0, 0, 0) scale(1.12);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
/* Ken Burns is driven by JS (main.js) for reliable mobile motion */
.hero-slide.is-active img {
    /* keep GPU layer warm on iOS */
    -webkit-transform: translateZ(0);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(105deg, rgba(26, 20, 18, 0.7) 0%, rgba(26, 20, 18, 0.48) 42%, rgba(61, 15, 22, 0.36) 100%),
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(201, 162, 39, 0.14), transparent 55%);
    pointer-events: none;
}

.hero-home .hero-inner {
    position: relative;
    z-index: 3;
    max-width: 640px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-home .hero-eyebrow { color: var(--gold-light); }
.hero-home .hero-lead { color: rgba(255, 255, 255, 0.88); }
.hero-home .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
}
.hero-home .btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero-eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.hero h1 {
    font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.12; color: var(--black); margin: 0 0 1rem;
}
.hero.hero-home h1 {
    color: #faf6f0;
}
.hero-lead { font-size: 1.15rem; color: var(--gray-600); margin: 0 0 1.75rem; }

.page-hero {
    position: relative;
    z-index: 1;
    background: var(--green-900);
    padding: 3.5rem 0;
    border-bottom: 3px solid var(--gold);
    color: #fff;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(201, 162, 39, 0.18), transparent 50%),
        linear-gradient(135deg, rgba(92, 21, 32, 0.55) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .label { color: var(--gold-light); }
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin: .5rem 0;
    color: #faf6f0;
}
.page-hero .lead { color: rgba(255, 255, 255, 0.9); max-width: 640px; margin: 0; }
.page-hero [lang="ar"] { color: rgba(247, 241, 232, 0.95); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .8rem 1.6rem; font-weight: 600; font-size: .95rem;
    border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; box-shadow: 0 4px 14px rgba(107,30,42,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(107,30,42,.35); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-600); }
.btn-outline:hover { background: var(--green-50); }
.btn-block { width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections — light panels; slight see-through so atmosphere peeks while scrolling */
.section {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.section-alt {
    background: rgba(250, 248, 245, 0.96);
}
.section + .section,
.page-hero + .section {
    box-shadow: 0 -1px 0 rgba(201, 162, 39, 0.08);
}
/* Peek strips so parallax photos show between content bands */
.main-content > .section,
.main-content > .section-alt {
    margin-top: 0;
}
.main-content > .section + .section,
.main-content > .section + .section-alt,
.main-content > .section-alt + .section,
.main-content > .section-alt + .section-alt {
    margin-top: 16px;
}
.main-content > .page-hero + .section {
    border-radius: 0;
    margin-top: 0;
}
/* Clearer parallax windows on mobile */
@media (max-width: 768px) {
    .atm-veil {
        background:
            linear-gradient(180deg, rgba(61, 15, 22, 0.36) 0%, rgba(26, 20, 18, 0.22) 45%, rgba(61, 15, 22, 0.4) 100%),
            radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 162, 39, 0.2), transparent 55%);
    }
    .atm-layer {
        inset: -16%;
        filter: saturate(1.15) contrast(1.08) brightness(1.02);
    }
    .section {
        background: rgba(255, 255, 255, 0.93);
    }
    .section-alt {
        background: rgba(250, 248, 245, 0.92);
    }
    .main-content > .section + .section,
    .main-content > .section + .section-alt,
    .main-content > .section-alt + .section,
    .main-content > .section-alt + .section-alt {
        margin-top: 22px;
        border-radius: 16px 16px 0 0;
    }
}
.label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin-bottom: .4rem; }
.section-head.center { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.center { text-align: center; }
.mt-lg { margin-top: 2rem; }
.lead { font-size: 1.15rem; }
.lead.narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-head); color: var(--black); margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-head); color: var(--green-800); }
.seo-faq h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.seo-faq p { color: var(--gray-700); margin-bottom: 1rem; }

/* Stats */
.stats-bar {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, #4a1820 100%);
    color: #fff;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: .25rem; }
.stat span { font-size: .8rem; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' →'; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .cards-4 { grid-template-columns: 1fr; }
}
.card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    overflow: hidden; transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card img { width: 100%; height: 200px; object-fit: contain; background: #fff; padding: .5rem; }
.card h2, .card h3 { font-family: var(--font-head); margin: 1rem 1.25rem .5rem; color: var(--black); font-size: 1.15rem; }
.card p { margin: 0 1.25rem 1.25rem; color: var(--gray-600); font-size: .95rem; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-icon { padding: 2rem; text-align: center; }
.card-icon-wrap {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.card-icon-wrap .icon-anim {
    width: 72px;
    height: 72px;
    display: block;
    overflow: visible;
}
/* Animated distribution icons */
.icon-globe .globe-spin {
    transform-origin: 36px 36px;
    animation: globe-spin 10s linear infinite;
}
.icon-globe .globe-pulse {
    transform-origin: 36px 36px;
    animation: icon-pulse 2.4s ease-in-out infinite;
}
.icon-cart {
    animation: cart-bob 2.2s ease-in-out infinite;
    transform-origin: 36px 48px;
}
.icon-cart .cart-wheel {
    transform-origin: center;
    animation: wheel-spin 1.1s linear infinite;
}
.icon-cart .cart-wheel-r { animation-duration: .95s; }
.icon-plate {
    animation: plate-float 2.8s ease-in-out infinite;
}
.icon-plate .spark {
    transform-origin: 36px 36px;
    animation: spark-twinkle 1.6s ease-in-out infinite;
}
.icon-plate .spark-2 { animation-delay: .4s; }
.icon-plate .spark-3 { animation-delay: .8s; }
.card-icon:hover .icon-anim {
    animation-play-state: paused;
}
.card-icon:hover .icon-globe .globe-spin {
    animation-duration: 3s;
}
@keyframes globe-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@keyframes cart-bob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-6px) rotate(2deg); }
}
@keyframes wheel-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes plate-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.04); }
}
@keyframes spark-twinkle {
    0%, 100% { opacity: .35; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
    .icon-globe .globe-spin,
    .icon-globe .globe-pulse,
    .icon-cart,
    .icon-cart .cart-wheel,
    .icon-plate,
    .icon-plate .spark {
        animation: none !important;
    }
}

/* Lists */
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: .65rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }
.two-col-list { columns: 2; column-gap: 2rem; }

/* Overview */
.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.overview-item { padding: 1.25rem; background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-200); }
.overview-item.wide { grid-column: 1 / -1; }
.overview-item span { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--green-700); margin-bottom: .3rem; }
.overview-item strong { color: var(--black); }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.panel { padding: 1.75rem; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.panel h3 { font-family: var(--font-head); color: var(--green-800); margin-top: 0; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.value { padding: 1.5rem; background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-200); text-align: center; }
.value h3 { font-family: var(--font-head); color: var(--green-800); margin: 0 0 .5rem; font-size: 1.1rem; }
.value p { margin: 0; font-size: .9rem; color: var(--gray-600); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.gallery-item {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; transition: box-shadow .3s, transform .3s;
}
.gallery-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery-item img { width: 100%; height: 220px; object-fit: contain; background: #fff; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: .75rem 1rem; font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.feature-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; margin-bottom: 2rem; }
.packaging-overview img { max-height: none; }

.section-intro { color: var(--gray-600); max-width: 52rem; margin: -.5rem 0 1.5rem; line-height: 1.6; }
.section-head h2 { margin-bottom: .35rem; }

.product-group { margin-top: 1.75rem; }
.product-group__title {
    font-family: var(--font-head); font-size: 1.05rem; color: var(--green-800);
    margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--green-100);
}
.product-group__grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem;
}
.product-group__figure {
    margin: 0; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(13, 92, 46, .06);
    transition: box-shadow .25s, transform .25s;
}
.product-group__figure:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.catalog-figure {
    display: flex; align-items: center; justify-content: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}
.catalog-img {
    display: block; width: 100%; height: auto; max-width: 100%;
    object-fit: contain; object-position: center;
}
.catalog-img--wide { max-height: min(380px, 52vw); }
.catalog-img--standard { max-height: min(460px, 58vw); }
.catalog-img--tall { max-height: min(520px, 68vw); }

.catalog-grid--single { grid-template-columns: 1fr; max-width: 920px; }
.catalog-grid--wide-stack {
    grid-template-columns: 1fr !important;
    max-width: 960px;
}

.packaging-gallery { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 1.5rem; }
.packaging-card {
    padding: 1.5rem; background: #fff;
    border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(13, 92, 46, .06);
}
.packaging-card__title {
    font-family: var(--font-head); font-size: 1.15rem; color: var(--green-800);
    margin: 0 0 1.25rem; padding-bottom: .65rem; border-bottom: 2px solid var(--green-100);
}
.packaging-card__intro {
    margin: -0.5rem 0 1.25rem; font-size: .92rem; color: var(--gray-600); line-height: 1.55;
}
.packaging-card__grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem;
}
.packaging-card__figure {
    margin: 0; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--gray-200); background: #fff;
}
.catalog-figure--wide { grid-column: 1 / -1; }

@media (min-width: 900px) {
    .packaging-card__grid:not(.catalog-grid--wide-stack) { grid-template-columns: repeat(2, 1fr); }
    .packaging-card__grid.catalog-grid--single { max-width: 880px; }
    .product-group__grid:not(.catalog-grid--wide-stack) { grid-template-columns: repeat(3, 1fr); }
    .product-group__grid.catalog-grid--single { max-width: 720px; }
    .catalog-img--wide { max-height: 420px; }
    .catalog-img--standard { max-height: 500px; }
    .catalog-img--tall { max-height: 560px; }
}

.frozen-showcase {
    display: grid; gap: 1.5rem; margin-top: 1.5rem;
    grid-template-columns: 1fr;
}
.frozen-showcase__label {
    font-family: var(--font-head); font-size: .95rem; color: var(--green-800);
    margin: 0 0 .85rem; font-weight: 600;
}
.frozen-showcase__figure {
    margin: 0; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(13, 92, 46, .06);
}
.frozen-showcase__group-grid {
    display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.frozen-showcase__hero .catalog-img--wide { max-height: min(440px, 48vw); }
.frozen-showcase__hero .catalog-img--standard { max-height: min(560px, 54vw); }
.frozen-showcase__hero .catalog-img--tall { max-height: min(620px, 60vw); }
.frozen-showcase__middle .catalog-img--wide { max-height: min(360px, 46vw); }
.frozen-showcase__middle .catalog-img--standard { max-height: min(420px, 50vw); }
.frozen-showcase__group .catalog-img--wide { max-height: min(300px, 42vw); }
.frozen-showcase__group .catalog-img--standard { max-height: min(340px, 46vw); }
.frozen-showcase__group .catalog-img--tall { max-height: min(380px, 50vw); }

@media (min-width: 900px) {
    .frozen-showcase {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .frozen-showcase__hero { grid-column: 1 / -1; }
    .frozen-showcase__group-grid { grid-template-columns: repeat(2, 1fr); }
    .frozen-showcase__hero .frozen-showcase__figure {
        border-width: 2px; border-color: var(--green-600);
        box-shadow: 0 12px 36px rgba(13, 92, 46, .12);
    }
    .frozen-showcase__hero .frozen-showcase__label { font-size: 1.05rem; }
    .frozen-showcase__hero .catalog-img--standard { max-height: 640px; }
    .frozen-showcase__hero .catalog-img--wide { max-height: 520px; }
    .frozen-showcase__middle .catalog-img--wide { max-height: 400px; }
    .frozen-showcase__group .catalog-img--wide { max-height: 320px; }
    .frozen-showcase__group .catalog-img--standard { max-height: 360px; }
}

.packaging-ops {
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
}
.packaging-ops__card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 1.25rem; box-shadow: 0 2px 12px rgba(13, 92, 46, .06);
}
.packaging-ops__figure { border: none; border-radius: var(--radius); }
.packaging-ops__caption {
    margin: 1rem 0 0; font-size: .92rem; color: var(--gray-600); line-height: 1.55;
}
.packaging-ops__figure--tall .catalog-img--tall { max-height: min(620px, 85vw); }

.packaging-pair {
    display: grid; gap: 1rem; grid-template-columns: 1fr 1fr;
    grid-column: 1 / -1;
}
.packaging-pair__figure {
    margin: 0; border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; background: #fff;
}
.packaging-pair__figure .catalog-img--tall { max-height: min(480px, 72vw); }
.packaging-pair__figure .catalog-img--wide { max-height: min(420px, 58vw); }
.packaging-pair__figure .catalog-img--standard { max-height: min(460px, 65vw); }
.packaging-ops__figure--hero .catalog-img--wide { max-height: min(480px, 56vw); }
.packaging-ops__card--pair { grid-column: 1 / -1; }
.packaging-ops__card--hero { grid-column: 1 / -1; }

@media (min-width: 900px) {
    .packaging-ops__figure--hero .catalog-img--wide { max-height: 520px; }
}

@media (max-width: 699px) {
    .packaging-pair { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
    .packaging-ops {
        grid-template-columns: 1.15fr .85fr;
        align-items: start;
    }
    .packaging-ops__figure--tall { grid-row: span 2; }
    .packaging-ops__figure--tall .catalog-img--tall { max-height: 720px; }
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-card { padding: 2rem; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.team-photo, .team-initials {
    width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1.25rem; object-fit: cover;
}
.team-initials {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 2.1rem;
    flex-shrink: 0;
}
.team-card h2 { font-family: var(--font-head); font-size: 1.2rem; text-align: center; margin: 0 0 .25rem; }
.team-card .role { text-align: center; font-weight: 600; color: var(--green-700); font-size: .9rem; margin: 0 0 1rem; }
.team-card p, .team-card ul { font-size: .93rem; color: var(--gray-600); }
.team-card ul { padding-left: 1.2rem; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.office-card { padding: 1.5rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 1rem; }
.office-card h2 { font-family: var(--font-head); font-size: 1.15rem; margin: 0 0 .25rem; color: var(--black); }
.office-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--green-700); margin: 0 0 .75rem; }
.office-card a { font-weight: 600; text-decoration: none; }
.contact-form-panel { padding: 2rem; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form-panel h2 { font-family: var(--font-head); margin-top: 0; font-size: 1.25rem; }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin: 1rem 0 .35rem; }
.contact-form label span { color: var(--green-700); }
.contact-form input, .contact-form textarea {
    width: 100%; padding: .7rem .9rem; border: 1px solid var(--gray-200); border-radius: var(--radius);
    font-family: var(--font-body); font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(45,157,90,.12); }
.form-feedback { margin-top: 1rem; font-size: .9rem; min-height: 1.3em; }
.form-feedback.success { color: var(--green-700); }
.form-feedback.error { color: #b42318; }

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--green-900);
    color: var(--green-100);
    padding: 3rem 0 0;
    margin-top: 0;
    border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2rem; }
.logo-footer { color: #fff; margin-bottom: .75rem; display: inline-flex; }
.footer-brand p { margin: 0; opacity: .9; font-size: .95rem; }
.footer-legal-name { margin: 0 0 .35rem; font-weight: 600; color: #fff; font-size: .92rem; line-height: 1.45; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: .9rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--green-100); text-decoration: none; opacity: .9; font-size: .93rem; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-col p { margin: 0 0 .35rem; font-size: .93rem; opacity: .9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: .85rem; opacity: .75; }

/* Scroll animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.34,1.2,.64,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
    .split, .split-reverse { grid-template-columns: 1fr; }
    .split-reverse .split-media { order: 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .two-col-list { columns: 1; }
}

@media (max-width: 768px) {
    .logo-img--header { height: 38px; width: 38px; }
    .main-nav {
        position: fixed; top: 0; right: 0; width: min(300px, 88vw); height: 100vh;
        background: var(--green-900); flex-direction: column; align-items: flex-start;
        padding: 5rem 1.5rem 2rem; gap: 0; z-index: 1001;
        box-shadow: -4px 0 24px rgba(0,0,0,.35);
        transform: translateX(100%); transition: transform .3s;
        border-left: 1px solid rgba(201, 162, 39, 0.28);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a {
        width: 100%; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
        border-left: none; color: rgba(255,255,255,.88);
    }
    .main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-home { min-height: calc(100vh - var(--header-h)); min-height: 100svh; padding: 4rem 0 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    /* Hero slideshow still animates via JS — do not freeze hero images here */
}

/* SEO content: buyer search terms & insights */
.buyer-search-terms__title-ar {
    color: var(--green-800); font-size: 1.05rem; margin: .5rem auto 0; max-width: 40rem;
}
.buyer-search-terms__grid {
    display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr;
}
.buyer-search-terms__col h3 {
    font-family: var(--font-head); font-size: 1rem; color: var(--green-800);
    margin: 0 0 .75rem;
}
.term-tags {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: .5rem;
}
.term-tags li {
    font-size: .82rem; padding: .35rem .7rem;
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: 999px; color: var(--gray-700);
}
.term-tags--ar li { font-size: .88rem; }
.arabic-summary {
    margin: 2rem 0; padding: 1.5rem;
    background: linear-gradient(135deg, var(--green-50), #fff);
    border: 1px solid var(--green-100); border-radius: var(--radius-lg);
}
.arabic-summary h2 {
    font-family: var(--font-head); font-size: 1.15rem; color: var(--green-800);
    margin: 0 0 .75rem;
}
.insights-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.insight-card {
    padding: 1.5rem; background: #fff;
    border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(13, 92, 46, .05);
}
.insight-card__date { font-size: .8rem; color: var(--gray-600); }
.insight-card h2 { font-family: var(--font-head); font-size: 1.1rem; margin: .5rem 0; }
.insight-card h2 a { color: var(--green-800); text-decoration: none; }
.insight-card h2 a:hover { text-decoration: underline; }
.insight-card__ar { color: var(--green-700); font-size: .95rem; margin: 0 0 .75rem; }
.insight-card__meta { font-size: .82rem; color: var(--gray-600); margin: .5rem 0 0; }
.page-hero--compact { padding-bottom: 2rem; }
.article-meta { font-size: .9rem; color: var(--gray-600); margin-top: .75rem; }
.article-title-ar { font-size: 1.1rem; color: var(--green-800); }
.article-prose .article-cta { margin-top: 2rem; text-align: center; }
.related-articles { padding-left: 1.2rem; }
.related-articles a { color: var(--green-700); font-weight: 600; }

@media (max-width: 768px) {
    .buyer-search-terms__grid { grid-template-columns: 1fr; }
}

/* —— RTL / Arabic —— */
html[dir="rtl"] body {
    font-family: "Noto Sans Arabic", "Source Sans 3", sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .logo-text,
html[dir="rtl"] .hero-eyebrow,
html[dir="rtl"] .label {
    font-family: "Noto Sans Arabic", "Cormorant Garamond", serif;
}
html[dir="rtl"] .main-nav {
    flex-direction: row;
}
html[dir="rtl"] .check-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}
html[dir="rtl"] .check-list li::before {
    left: auto;
    right: 0;
}
html[dir="rtl"] .lang-switch {
    margin-inline-start: 0;
    margin-inline-end: .75rem;
}
html[dir="rtl"] .related-articles {
    padding-left: 0;
    padding-right: 1.2rem;
}
@media (max-width: 768px) {
    html[dir="rtl"] .main-nav {
        right: auto;
        left: 0;
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0,0,0,.35);
        border-left: none;
        border-right: 1px solid rgba(201, 162, 39, 0.28);
        align-items: flex-start;
    }
    html[dir="rtl"] .main-nav.open {
        transform: translateX(0);
    }
}

