/* ============================================================
   JABAL AGRO LIMITED — style.css
   Multi-page corporate site. Design tokens + all components.
   Palette: Deep Green #123B25 / Agri Green #2F7D32 /
   Dark #0B2415 / Soft Gold #C7A94A / Off White #F6F7F3
   ============================================================ */

:root {
  --deep: #123b25;
  --deep-2: #0e3120;
  --dark: #0b2415;
  --green: #2f7d32;
  --green-dark: #256528;
  --green-ink: #123b25;
  --gold: #c7a94a;
  --gold-dark: #a98835;
  --gold-soft: #f4ecd8;
  --offwhite: #f6f7f3;
  --white: #ffffff;
  --text: #1e2933;
  --muted: #5c6b66;
  --line: #e2e7e0;
  --tint: #e9f1ea;
  --radius: 12px;
  --shadow-sm: 0 2px 14px rgba(11, 36, 21, 0.08);
  --shadow-md: 0 18px 48px rgba(11, 36, 21, 0.14);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --header-h: 78px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.page-ready { opacity: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; color: var(--dark); margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--dark); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section--tint { background: var(--offwhite); }
.section--dark { background: var(--dark); color: #dfe8e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.lead { font-size: 1.1rem; color: var(--green-ink); font-weight: 500; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff; padding: 0.7rem 1.2rem; z-index: 300; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Kickers, headings ---------- */
.kicker { display: flex; align-items: center; gap: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 700; color: var(--green); margin: 0 0 1rem; }
.kicker::before { content: ""; width: 38px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 38px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker--light { color: #ecd9a0; }
.sec-head { max-width: 640px; margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.sec-head p { color: var(--muted); margin-bottom: 0; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-num { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold-dark); display: block; margin-bottom: 0.6rem; }

/* ---------- Buttons / links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.88rem 1.9rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 0.93rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(47, 125, 50, 0.32); }
.btn--primary:hover { background: var(--green-dark); }
.btn--gold { background: var(--gold); color: #241a04; box-shadow: 0 8px 22px rgba(199, 169, 74, 0.4); }
.btn--gold:hover { background: #d6ba62; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--deep); }
.btn--outline { border-color: var(--line); color: var(--green-ink); background: #fff; }
.btn--outline:hover { border-color: var(--green); }
.btn--outline-light { border-color: rgba(255,255,255,0.65); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,0.14); }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.86rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: 0.95rem; color: var(--green); text-decoration: none; font-family: var(--font-head); }
.arrow-link svg { transition: transform 0.18s; }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   HEADER + NAV + MEGA MENU
   ============================================================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 120; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
body { padding-top: var(--header-h); }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(11,36,21,0.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo { height: 52px; width: auto; display: block; }
.brand__logo--footer { height: 58px; background: #fff; border-radius: 10px; padding: 6px 14px; }

.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav > ul { display: flex; align-items: stretch; gap: 0.15rem; list-style: none; margin: 0; padding: 0; height: var(--header-h); }
.main-nav > ul > li { display: flex; align-items: stretch; }
.nav-link { display: flex; align-items: center; gap: 0.3rem; padding: 0 0.95rem; text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--text); position: relative; background: none; border: none; cursor: pointer; font-family: inherit; }
.nav-link::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 18px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--green-ink); }
.nav-link.active { color: var(--green-ink); font-weight: 700; }
.nav-link.active::after { transform: scaleX(1); }
.nav-link .caret { transition: transform 0.2s; }
.has-mega.open .nav-link .caret, .nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav-cta, .drawer-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 0.7rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--green-ink); transition: 0.18s; }
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: var(--dark); border: none; border-radius: 10px; padding: 0.72rem 0.65rem; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(11,36,21,0.5); z-index: 110; }

/* Mega menu (desktop) */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(11,36,21,0.14); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.22s, transform 0.22s, visibility 0.22s; }
.has-mega.open .mega, .has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 2rem 0 1.8rem; }
.mega__inner.mega--rich { grid-template-columns: 0.85fr 1fr 1fr 1fr; align-items: stretch; }
.mega__intro { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.6rem; padding-right: 0.6rem; }
.mega__intro .kicker { margin-bottom: 0.2rem; }
.mega__intro h3 { font-size: 1.4rem; margin: 0; }
.mega__intro p { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.5rem; }
.mega-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 0.9rem 1rem; text-decoration: none; display: block; transition: 0.2s; background: #fff; overflow: hidden; }
.mega-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfd8cf; }
.mega-card__photo { position: relative; display: block; height: 118px; border-radius: 8px; overflow: hidden; margin-bottom: 0.85rem; }
.mega-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.mega-card:hover .mega-card__photo img { transform: scale(1.07); }
.mega-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,14,0) 45%, rgba(8,22,14,0.55)); }
.mega-card__photo-tag { position: absolute; left: 0.7rem; bottom: 0.6rem; z-index: 1; background: rgba(255,255,255,0.94); color: var(--green-ink); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 999px; }
.mega-card__text { display: block; padding: 0 0.25rem; }
.mega-card__text h3 { font-size: 1rem; margin: 0 0 0.15rem; }
.mega-card__text > p { font-size: 0.83rem; color: var(--muted); margin: 0 0 0.6rem; }
.mega-card ul { list-style: none; margin: 0; padding: 0.6rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.1rem; }
.mega-card ul a { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; font-weight: 500; padding: 0.35rem 0.2rem; text-decoration: none; border-radius: 6px; }
.mega-card ul a:hover { color: var(--green); background: var(--offwhite); }

/* Search overlay */
/* Search overlay — full-screen, impossible to miss */
.search-bar { position: fixed; inset: 0; z-index: 250; background: rgba(7, 19, 12, 0.72); backdrop-filter: blur(5px); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 1.2rem 1.2rem; }
.search-bar[hidden] { display: none; }
.search-bar .container { width: min(100%, 620px); }
.search-panel { position: relative; background: #fff; border-radius: 18px; padding: 2.2rem 1.8rem 1.6rem; box-shadow: 0 30px 80px rgba(0,0,0,0.35); border-top: 5px solid var(--green); animation: searchIn 0.25s ease; }
@keyframes searchIn { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.search-panel form { display: flex; gap: 0.7rem; }
.search-panel input { flex: 1; border: 2px solid var(--green); border-radius: 999px; padding: 0.85rem 1.3rem; font-size: 1rem; font-family: inherit; min-width: 0; }
.search-panel input:focus { outline: none; box-shadow: 0 0 0 4px var(--tint); }
.search-close { position: absolute; top: 0.7rem; right: 0.9rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.search-close:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.search-hint { margin: 0.8rem 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }
.search-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin: 0 0 1rem; color: var(--dark); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; color: #fff; overflow: hidden; padding: 4.2rem 0 3.4rem; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,22,14,0.92), rgba(8,22,14,0.72) 55%, rgba(18,59,37,0.55)); }
.page-hero__inner { position: relative; }
.crumbs { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; color: #c9d6ce; margin-bottom: 0.9rem; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 0.4rem; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: #dbe5dd; max-width: 38rem; margin: 0; font-size: 1.05rem; }
.page-hero__rule { width: 72px; height: 3px; background: var(--gold); border-radius: 3px; margin-top: 1.2rem; }

/* ============================================================
   HOME — HERO (75vh)
   ============================================================ */
.hero { position: relative; color: #fff; min-height: 75vh; display: flex; align-items: center; overflow: hidden; padding: 4rem 0; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(98deg, rgba(8,22,14,0.9) 0%, rgba(8,22,14,0.68) 48%, rgba(18,59,37,0.35) 100%); }
.hero__inner { position: relative; max-width: 760px; }
.hero__brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.28em; font-size: 0.78rem; color: #ecd9a0; margin-bottom: 1rem; }
.hero__brand::before { content: ""; width: 44px; height: 2px; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero__sub { color: #e4ece5; font-size: 1.14rem; max-width: 34rem; }
.hero__buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero__stats { display: flex; gap: 2rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.22); flex-wrap: wrap; }
.hero__stats div strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: #fff; }
.hero__stats div span { font-size: 0.82rem; color: #c4d3c8; }

/* ---------- Home intro (editorial, asymmetric) ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.intro__media { position: relative; }
.intro__media img.main { border-radius: 4px 80px 4px 80px; height: 460px; width: 100%; object-fit: cover; box-shadow: var(--shadow-md); }
.intro__media img.small { position: absolute; right: -1rem; bottom: -1.5rem; width: 44%; height: 180px; object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-md); }
.intro__badge { position: absolute; left: -1rem; bottom: 2rem; background: var(--dark); color: #fff; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 0.85rem 1.2rem; font-size: 0.85rem; box-shadow: var(--shadow-md); }
.intro__badge strong { color: var(--gold); display: block; font-family: var(--font-head); font-size: 1.05rem; }
.intro__content h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.intro__points { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: 0.6rem; }
.intro__points li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; font-size: 0.96rem; }
.intro__points svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--green); }

/* ---------- Category preview cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; text-decoration: none; box-shadow: var(--shadow-sm); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,14,0) 30%, rgba(8,22,14,0.88) 100%); }
.cat-card__body { position: relative; padding: 1.3rem 1.2rem; color: #fff; width: 100%; }
.cat-card__body span.idx { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.cat-card__body h3 { color: #fff; font-size: 1.08rem; margin: 0.25rem 0 0.3rem; }
.cat-card__body p { font-size: 0.83rem; color: #d5ded7; margin: 0 0 0.6rem; }
.cat-card__go { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.83rem; font-weight: 700; color: #fff; }
.cat-card__go svg { transition: transform 0.18s; }
.cat-card:hover .cat-card__go svg { transform: translateX(4px); }

/* ---------- Trust strip (soft, quiet) ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--offwhite); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2rem 0; }
.trust__item { display: flex; gap: 0.9rem; align-items: flex-start; }
.trust__icon { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.trust__item h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.trust__item p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* ---------- Network preview ---------- */
.net-preview { background: var(--deep); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; color: #dfe8e1; }
.net-preview__content { padding: 3rem 2.8rem; }
.net-preview__content h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.net-preview__content p { color: #bfcfc3; }
.net-stat { display: flex; align-items: baseline; gap: 0.8rem; margin: 1.2rem 0; }
.net-stat strong { font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.net-stat span { font-weight: 600; color: #fff; }
.net-preview__map { background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; padding: 2rem; border-left: 1px solid rgba(255,255,255,0.1); }
.net-preview__map svg { width: 100%; max-width: 340px; height: auto; }

/* ---------- Featured products ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.22s, box-shadow 0.22s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card__img { position: relative; height: 180px; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__img .tag { position: absolute; top: 0.75rem; left: 0.75rem; background: rgba(11,36,21,0.92); color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.32rem 0.75rem; border-radius: 999px; }
.product-card__body { padding: 1.15rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-card__code { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-dark); }
.product-card__body h3 { font-size: 1.05rem; margin: 0; }
.product-card__body h3 a { text-decoration: none; }
.product-card__body h3 a:hover { color: var(--green); }
.product-card__body p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.center-cta { text-align: center; margin-top: 2.2rem; }

/* ---------- Final CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; color: #fff; padding: 3.8rem 3rem; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 2rem; align-items: center; min-height: 280px; border-left: 6px solid var(--gold); box-shadow: var(--shadow-md); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.cta-band__shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(7,20,13,0.96) 20%, rgba(14,49,30,0.88) 55%, rgba(18,59,37,0.65)); }
.cta-band__body, .cta-band__action { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.4rem; }
.cta-band p { color: #cfdbd2; margin: 0; }
.cta-band__action { text-align: right; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img.rounded { border-radius: var(--radius); box-shadow: var(--shadow-md); height: 440px; width: 100%; object-fit: cover; }
.split--flip > :first-child { order: 2; }
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: val; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.3rem; position: relative; overflow: hidden; }
.value-card::before { content: "0" counter(val); counter-increment: val; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--tint); line-height: 1; display: block; }
.value-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.value-card h3 { font-size: 1.02rem; margin: 0.7rem 0 0.3rem; }
.value-card p { font-size: 0.86rem; color: var(--muted); margin: 0; }
.commit-band { background: var(--deep); color: #dfe8e1; border-radius: 20px; padding: 3rem; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; }
.commit-band h2 { color: #fff; }
.commit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.commit-list li { border-left: 3px solid var(--gold); padding-left: 1rem; }
.commit-list strong { color: #fff; display: block; }
.commit-list span { font-size: 0.9rem; color: #b9c8bd; }

/* ============================================================
   PRODUCTS CATALOGUE
   ============================================================ */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.catalog__side { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.catalog__side h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; padding: 1.1rem 1.2rem 0.6rem; margin: 0; color: var(--green-ink); }
.side-group { border-top: 1px solid var(--line); }
.side-group__btn { width: 100%; display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.2rem; background: none; border: none; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--dark); text-align: left; }
.side-group__btn:hover { background: var(--offwhite); }
.side-group__btn .count { margin-left: auto; font-size: 0.72rem; background: var(--tint); color: var(--green-ink); border-radius: 999px; padding: 0.1rem 0.55rem; font-family: var(--font-body); }
.side-group__list { list-style: none; margin: 0; padding: 0 0.6rem 0.8rem 1.2rem; display: grid; gap: 0.1rem; }
.side-group__list button { display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-size: 0.88rem; padding: 0.42rem 0.7rem; border-radius: 8px; color: var(--text); font-family: inherit; border-left: 2px solid transparent; }
.side-group__list button:hover { background: var(--offwhite); color: var(--green); }
.side-group__list button.active { background: var(--tint); color: var(--green-ink); font-weight: 700; border-left-color: var(--gold); }
.catalog__toolbar { display: flex; gap: 0.8rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.search-field { flex: 1; min-width: 200px; position: relative; }
.search-field input { width: 100%; border: 2px solid var(--line); border-radius: 999px; padding: 0.7rem 1.2rem 0.7rem 2.7rem; font-size: 0.92rem; font-family: inherit; }
.search-field input:focus { outline: none; border-color: var(--green); }
.search-field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.mobile-cat-select { display: none; width: 100%; border: 2px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; font-family: inherit; font-size: 0.92rem; margin-bottom: 1rem; background: #fff; }
.catalog__meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.empty-state { text-align: center; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 2rem 1.4rem; border-radius: var(--radius); }

/* ---------- Product details ---------- */
.pd-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: start; }
.pd-media { position: sticky; top: calc(var(--header-h) + 16px); }
.pd-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); height: 420px; width: 100%; object-fit: cover; }
.pd-info .tagrow { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.pill { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--tint); color: var(--green-ink); border-radius: 999px; padding: 0.35rem 0.85rem; }
.pill--gold { background: var(--gold-soft); color: var(--gold-dark); }
.pill--demo { background: #e8edf5; color: #54627a; border: 1px dashed #9aa7bd; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.3rem; }
.pd-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--green-ink); font-weight: 600; background: var(--offwhite); }
.spec-table td .tbd { color: var(--gold-dark); font-weight: 600; }
.pd-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1rem; }
.pd-note { font-size: 0.83rem; color: var(--muted); background: var(--offwhite); border: 1px dashed var(--line); border-radius: 10px; padding: 0.8rem 1rem; margin-top: 1.2rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.chip-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.chip { border: 1.5px solid var(--line); background: #fff; padding: 0.55rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 0.88rem; cursor: pointer; font-family: inherit; transition: 0.18s; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: none; padding: 0; background: none; text-align: left; }
.g-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem 0.9rem; background: linear-gradient(180deg, transparent, rgba(8,22,14,0.85)); color: #fff; font-size: 0.86rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: 0.25s; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.g-item.hide { display: none; }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(6,16,11,0.92); }
.lightbox figure { position: relative; margin: 0; max-width: min(92vw, 900px); }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; border-radius: 10px; margin-inline: auto; }
.lightbox figcaption { color: #e8efea; text-align: center; margin-top: 0.8rem; font-size: 0.92rem; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: #241a04; }
.lb-prev { left: -60px; }
.lb-next { right: -60px; }
.lb-close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff; font-size: 1.4rem; cursor: pointer; }
.lb-close:hover { background: var(--gold); border-color: var(--gold); color: #241a04; }
.lb-count { position: absolute; top: -48px; left: 0; color: #b9c8bd; font-size: 0.85rem; }

/* ============================================================
   NEWS
   ============================================================ */
.news-featured { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 2rem; background: #fff; }
.news-featured img { height: 100%; min-height: 320px; object-fit: cover; width: 100%; }
.news-featured__body { padding: 2.5rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.news-meta { display: flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.7rem; }
.news-meta .cat { background: var(--tint); color: var(--green-ink); border-radius: 999px; padding: 0.25rem 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; }
.news-meta time { color: var(--muted); }
.sample-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: #e8edf5; color: #54627a; border: 1px dashed #9aa7bd; border-radius: 999px; padding: 0.2rem 0.65rem; }
.news-featured__body h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.news-featured__body h2 a, .news-card h3 a { text-decoration: none; }
.news-featured__body h2 a:hover, .news-card h3 a:hover { color: var(--green); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: 0.22s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card img { height: 190px; width: 100%; object-fit: cover; }
.news-card__body { padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.news-card h3 { font-size: 1.05rem; margin: 0; }
.news-card p { font-size: 0.88rem; color: var(--muted); flex: 1; }

/* ============================================================
   CAREER
   ============================================================ */
.perk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.perk { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem; background: #fff; }
.perk svg { color: var(--green); margin-bottom: 0.7rem; }
.perk h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.perk p { font-size: 0.87rem; color: var(--muted); margin: 0; }
.job-list { display: grid; gap: 1.1rem; }
.job-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; }
.job-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.job-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.87rem; color: var(--muted); margin-bottom: 0.6rem; }
.job-meta strong { color: var(--text); font-weight: 600; }
.job-card .apply-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.step { background: var(--dark); color: #dfe8e1; border-radius: var(--radius); padding: 1.6rem 1.4rem; position: relative; }
.step::before { content: "0" counter(step); counter-increment: step; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.5rem; }
.step h3 { color: #fff; font-size: 1.02rem; }
.step p { font-size: 0.88rem; color: #b9c8bd; margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.6rem; align-items: start; }
.contact-info { background: var(--dark); color: #dfe8e1; border-radius: 18px; padding: 2rem 1.8rem; border-top: 5px solid var(--gold); }
.contact-info h2 { color: #fff; font-size: 1.35rem; }
.contact-info > p { color: #a9bcb0; font-size: 0.93rem; }
.contact-list { list-style: none; margin: 1.3rem 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.85rem 1rem; }
.contact-list__icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: rgba(199,169,74,0.16); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.contact-list strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: #ecd9a0; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; display: flex; flex-direction: column; }
.form-group label { font-weight: 600; font-size: 0.86rem; margin-bottom: 0.35rem; }
.form-group label b { color: #b23a24; font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { border: 1.5px solid var(--line); border-radius: 10px; padding: 0.78rem 0.95rem; font-size: 0.93rem; font-family: inherit; background: #fbfcfb; width: 100%; color: var(--text); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--tint); background: #fff; }
.form-group input.invalid, .form-group textarea.invalid { border-color: #c0492f; box-shadow: 0 0 0 3px #f6ddd6; }
.error { color: #b23a24; font-size: 0.78rem; min-height: 1.1em; margin-top: 0.2rem; }
.form-success { background: #e4f3e8; border: 1px solid #b6dcc1; color: #14532d; padding: 0.85rem 1rem; border-radius: 10px; font-weight: 600; font-size: 0.92rem; margin-top: 1rem; }
.form-hint { font-size: 0.78rem; color: var(--muted); margin: 0.8rem 0 0; text-align: center; }
.map-placeholder { margin-top: 1.6rem; border: 1px dashed #b9c6bb; background: var(--offwhite); border-radius: 18px; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 2rem; color: var(--muted); }
.map-placeholder strong { color: var(--green-ink); font-family: var(--font-head); }

/* ============================================================
   NETWORK PAGE
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 2.5rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center; border-top: 4px solid var(--gold); }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--green-ink); }
.stat-card span { font-size: 0.9rem; color: var(--muted); }
.network-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.network-map-card { background: var(--dark); border-radius: 20px; padding: 1.6rem; color: #cfdbd2; }
.network-map-card svg { width: 100%; height: auto; max-height: 460px; }
.network-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.network-list li { display: flex; gap: 0.9rem; padding: 1rem 1.1rem; background: var(--offwhite); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; }
.network-list strong { display: block; }
.network-list span { font-size: 0.88rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: linear-gradient(180deg, #0e2c1c 0%, #07130d 100%); color: #aebfb3; border-top: 1px solid rgba(199,169,74,0.35); }
.footer__top { display: grid; grid-template-columns: 1.35fr 0.65fr 0.8fr 1fr; gap: 2.5rem; padding: 3.8rem 0 2.8rem; }
.footer__brandcol { max-width: 24rem; }
.footer__tagline { font-family: var(--font-head); color: #e3cd8d; font-weight: 700; font-size: 1.02rem; margin: 1.1rem 0 0.4rem; letter-spacing: 0.01em; }
.footer__desc { font-size: 0.9rem; color: #93a699; }
.footer h3 { color: #fff; font-size: 0.82rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; position: relative; padding-bottom: 0.7rem; margin-bottom: 1rem; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); border-radius: 2px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.9rem; }
.footer nav ul a { text-decoration: none; display: inline-block; transition: transform 0.18s, color 0.18s; }
.footer nav ul a:hover { color: var(--gold); transform: translateX(5px); }
.footer__contact li { display: flex; gap: 0.65rem; align-items: flex-start; color: #aebfb3; }
.footer__contact li svg { color: var(--gold); flex-shrink: 0; margin-top: 0.25rem; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--gold); }
.social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social__btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; color: #dfe8e1; text-decoration: none; transition: 0.2s; }
.social__btn:hover { background: var(--gold); border-color: var(--gold); color: #241a04; transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.22); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-size: 0.84rem; flex-wrap: wrap; }
.footer__bottom a { color: var(--gold); text-decoration: none; }

/* Back to top + reveal */
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--green); color: #fff; cursor: pointer; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; z-index: 90; transition: 0.2s; }
.back-to-top:hover { background: var(--green-dark); transform: translateY(-2px); }
.back-to-top[hidden] { display: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  body { opacity: 1; }
  .lb-btn, .back-to-top { transition: none; }
}
