@charset "utf-8";
/* ==========================================================
   Mehrazan Toseh Segal – Food Industries
   Redesigned stylesheet (EN / FA / AR, LTR + RTL)
   ========================================================== */

:root {
    --bg-0: #07201d;
    --bg-1: #0b2b27;
    --bg-2: #103a34;
    --gold: #f2c14e;
    --gold-soft: #f8e08e;
    --gold-deep: #c8921f;
    --leaf: #9bd36b;
    --cream: #fbf4dd;
    --text: #e8efe6;
    --muted: #a9bdb4;
    --line: rgba(242, 193, 78, 0.18);
    --glass: rgba(255, 255, 255, 0.045);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --radius: 22px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --font-body: 'Inter', 'Vazirmatn', 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Fraunces', 'Vazirmatn', Georgia, serif;
}

html[lang="fa"], html[lang="ar"] {
    --font-body: 'Vazirmatn', 'Segoe UI', Tahoma, system-ui, sans-serif;
    --font-display: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Background ---------- */
.bg-layer {
    position: fixed; inset: 0; z-index: -3;
    background:
        radial-gradient(1200px 700px at 85% -10%, rgba(242, 193, 78, 0.12), transparent 60%),
        radial-gradient(900px 600px at -10% 40%, rgba(155, 211, 107, 0.10), transparent 60%),
        radial-gradient(900px 700px at 60% 110%, rgba(242, 193, 78, 0.08), transparent 60%),
        linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.bg-grain {
    position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .07;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35;
    animation: drift 24s ease-in-out infinite alternate;
}
.orb:nth-child(1) { width: 420px; height: 420px; background: #f2c14e; top: 8%; inset-inline-start: -120px; opacity: .16; }
.orb:nth-child(2) { width: 360px; height: 360px; background: #9bd36b; top: 55%; inset-inline-end: -120px; opacity: .14; animation-delay: -8s; }
.orb:nth-child(3) { width: 300px; height: 300px; background: #2fb59b; bottom: -80px; inset-inline-start: 30%; opacity: .12; animation-delay: -15s; }
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(40px, -60px, 0) scale(1.15); }
}
.bubble {
    position: fixed; bottom: -20px; border-radius: 50%; pointer-events: none; z-index: -1;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(242,193,78,.25) 60%, transparent 70%);
}

/* ---------- Glass ---------- */
.glass {
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
header {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    z-index: 100; width: 96%; max-width: 1240px; padding: 12px 22px;
    background: rgba(8, 36, 32, 0.55);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
    transition: background .4s, padding .4s, top .4s;
}
header.scrolled { background: rgba(6, 28, 25, 0.82); padding: 8px 22px; top: 10px; }

nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .01em; }
.logo-mark {
    width: 44px; height: 44px; flex: none; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
    box-shadow: 0 6px 18px rgba(242,193,78,.35);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b {
    font-family: var(--font-display); font-size: 1.12rem;
    background: linear-gradient(90deg, var(--cream), var(--gold-soft));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-text small { font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
html[lang="fa"] .logo-text small, html[lang="ar"] .logo-text small { letter-spacing: 0; text-transform: none; font-size: .72rem; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
    position: relative; display: block; padding: 9px 16px; border-radius: 999px;
    font-size: .93rem; font-weight: 500; color: var(--text); transition: all .3s;
}
.nav-links a:hover { color: var(--gold-soft); background: rgba(242,193,78,.08); }
.nav-links a.active { color: #2a1d00; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); font-weight: 700; box-shadow: 0 6px 18px rgba(242,193,78,.3); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 8px 14px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600;
    color: var(--cream); background: rgba(242,193,78,.1); border: 1px solid var(--line);
    transition: all .3s;
}
.lang-btn:hover { background: rgba(242,193,78,.2); }
.lang-btn svg { width: 17px; height: 17px; }
.lang-btn .chev { width: 12px; height: 12px; transition: transform .3s; }
.lang-switch.open .chev { transform: rotate(180deg); }
.lang-menu {
    position: absolute; top: calc(100% + 12px); inset-inline-end: 0; min-width: 170px; padding: 8px;
    background: rgba(6, 28, 25, .96); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.6); display: none;
}
.lang-switch.open .lang-menu { display: block; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
.lang-menu button {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: .92rem;
    border-radius: 12px; cursor: pointer; transition: background .2s;
}
.lang-menu button:hover { background: rgba(242,193,78,.12); }
.lang-menu button.current { color: var(--gold-soft); font-weight: 700; }
.lang-menu button.current::after { content: "✓"; }

.mobile-menu-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
    width: 42px; height: 42px; padding: 0 10px; border-radius: 50%;
    background: rgba(242,193,78,.1); border: 1px solid var(--line);
}
.hamburger-line { height: 2px; background: var(--gold-soft); border-radius: 2px; transition: all .3s; }
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed; top: 88px; left: 50%; transform: translateX(-50%);
    width: 92%; max-width: 420px; padding: 18px; display: none; flex-direction: column; gap: 8px;
    background: rgba(6,28,25,.97); border: 1px solid var(--line); border-radius: 26px;
    box-shadow: 0 25px 70px rgba(0,0,0,.7); z-index: 99;
}
.mobile-nav.active { display: flex; animation: slideDown .3s ease-out; }
@keyframes slideDown { from { opacity: 0; transform: translate(-50%, -16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mobile-nav a {
    padding: 14px 18px; border-radius: 14px; text-align: center; font-size: 1.05rem;
    background: rgba(255,255,255,.04); border: 1px solid transparent; transition: all .25s;
}
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(242,193,78,.14); color: var(--gold-soft); border-color: var(--line); }

/* ---------- Common ---------- */
section { position: relative; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 22px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: .28em; text-transform: uppercase;
}
html[lang="fa"] .eyebrow, html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { transform: scaleX(-1); }

.section-head { text-align: center; margin-bottom: 70px; }
.section-title {
    font-family: var(--font-display); font-weight: 800; line-height: 1.15;
    font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: 16px;
    background: linear-gradient(180deg, #fff, var(--gold-soft));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-sub { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: 1.05rem; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
    font-size: .85rem; font-weight: 600; color: var(--gold-soft);
    background: rgba(242,193,78,.1); border: 1px solid var(--line);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 12px var(--leaf); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.hero h1 {
    font-family: var(--font-display); font-weight: 800; margin: 22px 0 22px;
    font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.08; letter-spacing: -.02em;
}
html[lang="fa"] .hero h1, html[lang="ar"] .hero h1 { line-height: 1.35; letter-spacing: 0; }
.hero h1 .grad {
    background: linear-gradient(120deg, var(--gold-soft), var(--gold), var(--leaf), var(--gold-soft));
    background-size: 300% 100%; animation: shine 9s linear infinite;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes shine { to { background-position: 300% 0; } }
.hero-desc { font-size: 1.15rem; color: var(--muted); max-width: 560px; }

.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.cta-button {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px;
    font-weight: 700; font-size: .98rem; color: #2a1d00; cursor: pointer; border: 0;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    box-shadow: 0 10px 30px rgba(242,193,78,.3); transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.cta-button:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(242,193,78,.45); }
.cta-button.secondary { background: transparent; color: var(--gold-soft); border: 1.5px solid rgba(242,193,78,.5); box-shadow: none; }
.cta-button.secondary:hover { background: rgba(242,193,78,.1); }
.cta-button svg { width: 18px; height: 18px; }
html[dir="rtl"] .cta-button .arrow { transform: scaleX(-1); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 54px; }
.hero-stat { padding: 18px 12px; text-align: center; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: all .35s; }
.hero-stat:hover { transform: translateY(-6px); border-color: rgba(242,193,78,.5); background: rgba(242,193,78,.07); }
.hero-stat-number { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--gold-soft); direction: ltr; }
.hero-stat-label { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* Hero visual: product collage */
.hero-visual { position: relative; height: 560px; }
.hero-visual::before {
    content: ""; position: absolute; inset: 8% 6%; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(242,193,78,.35), rgba(155,211,107,.25), rgba(242,193,78,.35));
    filter: blur(60px); animation: glowpulse 10s ease-in-out infinite;
}
@keyframes glowpulse { 50% { transform: scale(1.1); filter: blur(60px) hue-rotate(25deg); } }
.hv-card {
    position: absolute; overflow: hidden; border-radius: 26px; border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: floaty 7s ease-in-out infinite;
}
.hv-card img { width: 100%; height: 100%; object-fit: cover; }
.hv-card:nth-child(1) { width: 66%; height: 52%; top: 0; inset-inline-end: 0; transform: rotate(3deg); }
.hv-card:nth-child(2) { width: 56%; height: 44%; top: 38%; inset-inline-start: 0; transform: rotate(-4deg); animation-delay: -2.5s; }
.hv-card:nth-child(3) { width: 48%; height: 36%; bottom: 0; inset-inline-end: 4%; transform: rotate(2deg); animation-delay: -5s; }
@keyframes floaty { 50% { translate: 0 -16px; } }
.hv-chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--cream);
    background: rgba(6,28,25,.82); border: 1px solid var(--line); backdrop-filter: blur(10px);
    top: 46%; inset-inline-end: -4px; animation: floaty 6s ease-in-out infinite;
}
.hv-chip svg { width: 18px; height: 18px; color: var(--leaf); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(242,193,78,.05); padding: 16px 0; direction: ltr; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marq 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gold-soft); white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--gold-deep); font-size: .8rem; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Features ---------- */
.features { padding: 130px 0; }
.diagonal-grid { display: flex; flex-direction: column; gap: 56px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-row:nth-child(even) .feature-content { order: 2; }
.feature-content { padding: 46px; position: relative; transition: all .4s ease; overflow: hidden; }
.feature-content::before {
    content: attr(data-num); position: absolute; top: -14px; inset-inline-end: 22px;
    font-family: var(--font-display); font-size: 7.5rem; font-weight: 800; line-height: 1;
    color: rgba(242,193,78,.07); pointer-events: none;
}
.feature-content:hover { transform: translateY(-8px); border-color: rgba(242,193,78,.45); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 40px rgba(242,193,78,.12); }
.icon-bubble {
    width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 24px;
    color: #2a1d00; background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
    box-shadow: 0 10px 26px rgba(242,193,78,.3);
}
.icon-bubble svg { width: 32px; height: 32px; }
.feature-content h3 { font-family: var(--font-display); font-size: 1.9rem; color: #fff; margin-bottom: 14px; line-height: 1.25; }
.feature-content p { color: var(--muted); font-size: 1.05rem; line-height: 1.85; }

.feature-visual {
    height: 340px; border-radius: 26px; overflow: hidden; position: relative;
    border: 1px solid var(--line); box-shadow: var(--shadow);
    background-size: cover; background-position: center; transition: all .5s ease;
}
.feature-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,20,18,.65)); }
.feature-visual:hover { transform: scale(1.03) rotate(-.6deg); box-shadow: 0 30px 70px rgba(242,193,78,.2); }
.feature-row:nth-child(1) .feature-visual { background-image: url('images/7 (1) (1).webp'); }
.feature-row:nth-child(2) .feature-visual { background-image: url('images/10 (1).webp'); }
.feature-row:nth-child(3) .feature-visual { background-image: url('images/22.webp'); }

/* ---------- Products ---------- */
.showcase { padding: 130px 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    position: relative; padding: 34px 28px 30px; border-radius: 26px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    border: 1px solid var(--line); transition: all .45s cubic-bezier(.2,.7,.2,1);
}
.product-card::before {
    content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    top: -90px; inset-inline-end: -90px; background: radial-gradient(circle, rgba(242,193,78,.28), transparent 70%);
    transition: transform .6s ease;
}
.product-card::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0); transition: transform .5s ease;
}
.product-card:hover { transform: translateY(-10px); border-color: rgba(242,193,78,.5); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.product-card:hover::before { transform: scale(1.6); }
.product-card:hover::after { transform: scaleX(1); }
.product-icon {
    position: relative; width: 62px; height: 62px; border-radius: 18px; margin-bottom: 22px;
    display: grid; place-items: center; color: var(--gold-soft);
    background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.35);
    transition: all .4s;
}
.product-icon svg { width: 30px; height: 30px; }
.product-card:hover .product-icon { color: #2a1d00; background: linear-gradient(145deg, var(--gold-soft), var(--gold)); transform: rotate(-6deg) scale(1.06); }
.product-card h4 { position: relative; font-family: var(--font-display); font-size: 1.35rem; color: #fff; margin-bottom: 8px; }
.product-card p { position: relative; color: var(--muted); font-size: .98rem; }

/* ---------- Timeline ---------- */
.timeline { padding: 110px 0; }
.timeline-container { max-width: 1000px; margin: 0 auto; position: relative; padding: 0 22px; }
.timeline-line {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--gold), var(--leaf), transparent);
    box-shadow: 0 0 20px rgba(242,193,78,.35);
}
.timeline-item { position: relative; display: flex; justify-content: flex-start; margin-bottom: 50px; }
.timeline-item .timeline-content { width: calc(50% - 46px); }
.timeline-item:nth-child(even) { justify-content: flex-end; }
html[dir="rtl"] .timeline-item { flex-direction: row-reverse; }
.timeline-content { padding: 30px 32px; transition: all .4s ease; }
.timeline-content:hover { transform: translateY(-6px); border-color: rgba(242,193,78,.5); box-shadow: 0 25px 55px rgba(0,0,0,.45), 0 0 35px rgba(242,193,78,.12); }
.timeline-year {
    display: inline-block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; direction: ltr;
    padding: 4px 16px; border-radius: 999px; margin-bottom: 14px; color: #2a1d00;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.timeline-content h4 { font-size: 1.35rem; color: #fff; margin-bottom: 8px; font-family: var(--font-display); }
.timeline-content p { color: var(--muted); }
.timeline-dot {
    position: absolute; left: 50%; top: 34px; width: 22px; height: 22px; transform: translateX(-50%); border-radius: 50%; z-index: 2;
    background: var(--bg-0); border: 4px solid var(--gold); box-shadow: 0 0 0 6px rgba(242,193,78,.16), 0 0 24px rgba(242,193,78,.6);
}

/* ---------- Gallery ---------- */
.gallery { padding: 110px 0; }
.gallery-container { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.gallery-item {
    position: relative; display: block; overflow: hidden; cursor: zoom-in; aspect-ratio: 15 / 8;
    border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-radius: 24px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.gallery-item::after {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
    background: linear-gradient(180deg, transparent 40%, rgba(4,20,18,.7));
}
.gallery-item .zoom {
    position: absolute; z-index: 2; bottom: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; color: #2a1d00; background: var(--gold); opacity: 0; transform: scale(.6); transition: all .4s;
}
.gallery-item .zoom svg { width: 18px; height: 18px; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .zoom { opacity: 1; transform: none; }

.lightbox {
    position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
    background: rgba(2,12,10,.92); backdrop-filter: blur(8px); padding: 30px;
}
.lightbox.open { display: flex; animation: pop .3s ease; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lb-btn {
    position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
    background: rgba(242,193,78,.12); color: var(--gold-soft); font-size: 1.4rem; display: grid; place-items: center; transition: all .25s;
}
.lb-btn:hover { background: var(--gold); color: #2a1d00; }
.lb-close { top: 24px; inset-inline-end: 24px; }
.lb-prev { left: 24px; } .lb-next { right: 24px; }

/* ---------- Contact ---------- */
.contact { padding: 130px 0; }
.contact-container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-info { padding: 52px 44px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.contact-info::before {
    content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; bottom: -160px; inset-inline-start: -120px;
    background: radial-gradient(circle, rgba(242,193,78,.2), transparent 70%);
}
.contact-info h3 { position: relative; font-family: var(--font-display); font-size: 2.3rem; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.contact-info p { position: relative; color: var(--muted); font-size: 1.08rem; }
.contact-list { position: relative; margin-top: 30px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--text); }
.contact-list .ci { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--gold-soft); background: rgba(242,193,78,.1); border: 1px solid var(--line); }
.contact-list .ci svg { width: 20px; height: 20px; }
.social-links { position: relative; display: flex; gap: 12px; margin-top: 34px; }
.social-links a {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-soft);
    background: var(--glass); border: 1px solid var(--line); transition: all .3s;
}
.social-links a svg { width: 20px; height: 20px; }
.social-links a:hover { transform: translateY(-5px); background: var(--gold); color: #2a1d00; box-shadow: 0 12px 25px rgba(242,193,78,.35); }

.contact-form { padding: 46px 40px; }
.form-group { position: relative; margin-bottom: 22px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gold-soft); margin-bottom: 8px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px 18px; font: inherit; font-size: 1rem; color: #fff; resize: vertical;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; transition: all .3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: rgba(242,193,78,.06); box-shadow: 0 0 0 4px rgba(242,193,78,.14); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #7f968d; }
.submit-btn { width: 100%; justify-content: center; font-size: 1.05rem; }

/* ---------- Footer ---------- */
footer { margin-top: 40px; padding: 60px 20px 36px; text-align: center; border-top: 1px solid var(--line); background: rgba(3, 16, 14, .6); backdrop-filter: blur(16px); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--cream); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 26px; }
.footer-links a { color: var(--muted); font-size: .92rem; padding: 6px 0; position: relative; transition: color .3s; }
.footer-links a::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-links a:hover::after { width: 100%; }
.footer-copyright { color: #7f968d; font-size: .88rem; }
.footer-design { color: #5f766d; font-size: .8rem; margin-top: 10px; }
.footer-design a { color: var(--gold); }

/* Scroll to top */
.to-top {
    position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; border: 0; color: #2a1d00;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold)); box-shadow: 0 10px 28px rgba(0,0,0,.45);
    opacity: 0; pointer-events: none; transform: translateY(16px); transition: all .35s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--gold-deep)); border-radius: 8px; border: 2px solid var(--bg-0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { height: 460px; max-width: 560px; margin: 0 auto; width: 100%; }
    .hero-content { text-align: center; }
    .hero-desc { margin-inline: auto; }
    .cta-buttons { justify-content: center; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .gallery-container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: auto; grid-row: auto; aspect-ratio: 15 / 8; border-radius: 18px; }
    .feature-row { grid-template-columns: 1fr; gap: 26px; }
    .feature-row:nth-child(even) .feature-content { order: 0; }
    .feature-visual { height: 260px; }
    .contact-container { grid-template-columns: 1fr; }
    .timeline-line { left: 22px; transform: none; }
    .timeline-dot { left: 22px; }
    html[dir="rtl"] .timeline-line { left: auto; right: 22px; }
    html[dir="rtl"] .timeline-dot { left: auto; right: 22px; transform: translateX(50%); }
    .timeline-item, .timeline-item:nth-child(even) { justify-content: flex-start; flex-direction: row !important; }
    .timeline-item .timeline-content { width: 100%; margin-inline-start: 56px; }
}
@media (max-width: 640px) {
    header { padding: 10px 14px; border-radius: 28px; }
    .logo-text small { display: none; }
    .logo-text b { font-size: 1rem; }
    .lang-btn .lang-name { display: none; }
    .hero { padding-top: 120px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { height: 380px; }
    .hv-chip { display: none; }
    .product-grid { grid-template-columns: 1fr; }
    .feature-content, .contact-info, .contact-form { padding: 32px 24px; }
    .features, .showcase, .gallery, .contact { padding: 80px 0; }
    .section-head { margin-bottom: 46px; }
    .lb-prev, .lb-next { top: auto; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
