/* Organic Green Company: Laboratory theme
   Tokens: paper #fbfcfb, snow #f0f3f0, ink #161a17, slate #5b6560, accent #2f7d4f.
   Type: Lora (headings, serif) + Mulish (body). Register: spec sheet, technical, dense. */

:root {
  --paper: #fbfcfb;
  --snow: #f0f3f0;
  --ink: #161a17;
  --slate: #5b6560;
  --acc: #2f7d4f;
  --acc-dk: #215c39;
  --line: #dde3de;
  --card: #ffffff;
  --deep: #0f2117;
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  font-family: "Mulish", system-ui, Segoe UI, Arial, sans-serif;
  color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.6;
}
h1, h2, h3, h4 { font-family: "Lora", Georgia, serif; font-weight: 600; line-height: 1.15; letter-spacing: 0; }
h1 { font-size: 46px; }
h2 { font-size: 32px; margin-bottom: 12px; }
h3 { font-size: 19px; }
p { margin-bottom: 14px; }
img { display: block; max-width: 100%; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-dk); }
.band { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }

/* graph-paper texture for light panels */
.gridbg {
  background-color: var(--snow);
  background-image:
    linear-gradient(rgba(22,26,23,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,26,23,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* section index labels */
.sec-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 12px;
}
.sec-tag::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--acc); vertical-align: middle; margin-right: 10px; }

/* ---------- header ---------- */
.top { background: rgba(251,252,251,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.top-in { max-width: var(--maxw); margin: 0 auto; padding: 13px 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brandline { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brandline img { width: 42px; height: 42px; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.05; display: block; }
.brand-sub { display: block; text-align: center; font-size: 10.5px; font-weight: 600; color: var(--slate); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.navbar { display: flex; gap: 2px; align-items: center; }
.navbar a, .navbar button.about-toggle {
  font-family: inherit; color: var(--ink); font-weight: 600; font-size: 14.5px;
  padding: 9px 12px; border-radius: 6px; background: none; border: none; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease; text-decoration: none;
}
.navbar a:hover, .navbar button.about-toggle:hover { background: var(--snow); color: var(--acc); }
.navbar a.is-here { color: var(--acc); box-shadow: inset 0 -2px 0 var(--acc); border-radius: 6px 6px 0 0; }
.about-group { position: relative; }
.about-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 190px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 26px rgba(22,26,23,0.12); padding: 6px; z-index: 60;
}
.about-group:hover .about-menu, .about-group:focus-within .about-menu, .about-menu.open { display: block; }
.about-menu a { display: block; padding: 9px 12px; }
.navbar a.nav-cta { background: var(--deep) !important; color: #fff !important; margin-left: 6px; border-radius: 8px; padding: 10px 18px; }
.navbar a.nav-cta:hover { background: var(--acc-dk); color: #fff !important; }
.nav-cta:hover { background: var(--acc-dk) !important; color: #fff !important; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink); }

/* ---------- hero (home) ---------- */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); border: 1px solid var(--line); border-radius: 20px; padding: 5px 14px; margin-bottom: 22px; background: var(--card); }
.hero h1 { font-size: 50px; margin-bottom: 18px; }
.hero .lede { font-size: 19px; color: var(--slate); margin-bottom: 28px; max-width: 480px; }
.action-btn { display: inline-block; background: var(--deep); color: #fff; font-weight: 600; font-size: 15.5px; padding: 14px 26px; border-radius: 8px; border: none; cursor: pointer; transition: background 0.15s ease; text-decoration: none; }
.action-btn:hover { background: var(--acc-dk); color: #fff; }
.quiet-link { margin-left: 18px; font-weight: 600; font-size: 15px; }
.quiet-link::after { content: " \203A"; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 430px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.mosaic .tall { grid-row: span 2; }

/* ---------- ink spec bar ---------- */
.specbar { background: var(--deep); color: #e8ede9; }
.specbar-in { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); }
.specbar-in > div { padding: 24px 24px; border-left: 1px solid rgba(255,255,255,0.1); }
.specbar-in > div:first-child { border-left: none; padding-left: 0; }
.specbar b { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.specbar span { font-size: 13.5px; color: #9fb0a6; }

/* ---------- sections ---------- */
.block { padding: 64px 0; }
.block-snow { padding: 64px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-wn { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: start; }
.ph { width: 100%; object-fit: cover; border-radius: 10px; }
.ph-cap { font-size: 13px; color: var(--slate); margin-top: 10px; }
.ph-cap::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--acc); vertical-align: middle; margin-right: 8px; }

/* product cards */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.pc { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.pc:hover { border-color: var(--acc); box-shadow: 0 8px 22px rgba(22,26,23,0.08); }
.pc img { width: 100%; height: 170px; object-fit: cover; transition: transform 0.25s ease; }
.pc:hover img { transform: scale(1.04); }
.pc-t { padding: 15px 17px 17px; }
.pc-t h3 { font-size: 16px; margin-bottom: 2px; }
.pc-t i { color: var(--slate); font-size: 13px; }
.pc-t a { display: inline-block; margin-top: 11px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 16px; padding: 4px 13px; transition: border-color 0.15s ease, background 0.15s ease; }
.pc-t a:hover { border-color: var(--acc); background: var(--snow); }

/* checklist */
.checklist { list-style: none; margin-top: 18px; }
.checklist li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; font-size: 15.5px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--acc); box-shadow: inset 0 0 0 3px var(--paper); border: 1px solid var(--acc); }
.checklist li:last-child { border-bottom: none; }

/* numbered technical steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.steps3 > div { border-top: 3px solid var(--acc); padding-top: 18px; }
.steps3 b { font-size: 13px; font-weight: 700; color: var(--slate); letter-spacing: 0.08em; }
.steps3 h3 { margin: 6px 0 8px; }
.steps3 p { color: var(--slate); font-size: 15px; margin: 0; }

.steps6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.steps6 > div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; transition: border-color 0.15s ease; }
.steps6 > div:hover { border-color: var(--acc); }
.steps6 b { font-size: 26px; font-weight: 800; color: var(--line); display: block; line-height: 1; letter-spacing: -0.02em; }
.steps6 h3 { margin: 8px 0 6px; font-size: 17px; }
.steps6 p { color: var(--slate); font-size: 14.5px; margin: 0; }

/* documentation manifest */
.docpanel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.docpanel h3 { margin-bottom: 6px; }
.docpanel .note { color: var(--slate); font-size: 14px; margin-bottom: 14px; }
.doclist { list-style: none; }
.doclist li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.doclist li:last-child { border-bottom: none; }
.doclist b { font-weight: 600; }
.doclist span { color: var(--slate); font-size: 13.5px; text-align: right; }

/* ---------- page intros ---------- */
.page-top { padding: 54px 0 8px; max-width: 800px; }
.page-top h1 { font-size: 42px; margin-bottom: 12px; }
.page-top .lede { font-size: 18px; color: var(--slate); }

/* ---------- catalog ---------- */
.catalog-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 24px 0 28px; }
.cat-tab { border: 1px solid var(--line); background: var(--card); color: var(--ink); font-family: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.cat-tab:hover { border-color: var(--acc); color: var(--acc); }
.cat-tab.picked { background: var(--deep); border-color: var(--deep); color: #fff; }
.cat-tab .tab-count { font-weight: 400; opacity: 0.7; margin-left: 4px; font-size: 12.5px; }
.catalog-tools input[type="search"] { flex: 1; min-width: 220px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 15px; background: var(--card); }
.catalog-tools input[type="search"]:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
main { counter-reset: catpart; }
.catalog-part { margin-bottom: 46px; counter-increment: catpart; }
.catalog-part h2::before { content: counter(catpart, decimal-leading-zero); display: inline-block; font-size: 14px; font-weight: 700; color: var(--acc); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; vertical-align: middle; margin-right: 12px; background: var(--card); }
.catalog-part .part-note { color: var(--slate); font-size: 14.5px; margin-bottom: 14px; }
table.goods-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14.5px; box-shadow: 0 1px 4px rgba(22,26,23,0.04); }
.goods-table th { text-align: left; font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); background: var(--snow); padding: 11px 14px; border-bottom: 1px solid var(--line); }
.goods-table td { padding: 10px 14px; border-bottom: 1px solid #eef1ee; vertical-align: middle; }
.goods-table tr:last-child td { border-bottom: none; }
.goods-table tbody tr:hover td { background: #f6f9f6; }
.goods-table td:first-child { font-weight: 600; }
.goods-table .latin { font-style: italic; color: var(--slate); }
.goods-table .code { color: var(--slate); white-space: nowrap; font-size: 13.5px; }
.form-chip { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--acc-dk); background: #e7f1ea; border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.goods-table a { font-weight: 600; font-size: 13px; white-space: nowrap; border: 1px solid var(--line); border-radius: 16px; padding: 4px 13px; transition: border-color 0.15s ease, background 0.15s ease; }
.goods-table a:hover { border-color: var(--acc); background: var(--snow); }

/* ---------- certificates ---------- */
.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.standard-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.standard-card:hover { border-color: var(--acc); box-shadow: 0 8px 22px rgba(22,26,23,0.07); }
.standard-card .card-mark { height: 50px; width: auto; margin-bottom: 14px; }
.standard-card h3 { font-size: 17px; }
.standard-card .scope { color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 4px 0 10px; }
.standard-card p:last-child { margin-bottom: 0; font-size: 14.5px; color: var(--slate); }

/* ---------- cert strip ---------- */
.cert-strip { border-top: 1px solid var(--line); background: var(--card); padding: 28px 0 26px; }
.cert-strip-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cert-strip-note { color: var(--slate); font-size: 14px; max-width: 360px; margin: 0; }
.cert-marks { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.cert-mark { margin: 0; text-align: center; }
.cert-mark img { height: 58px; width: auto; margin: 0 auto; filter: grayscale(0.3); transition: filter 0.15s ease; }
.cert-mark:hover img { filter: grayscale(0); }
.cert-mark img[src*="cert-brcgs"] { height: 40px; margin-top: 9px; }
.cert-mark img[src*="cert-ceres"] { height: 50px; }
.cert-mark figcaption { font-size: 12px; color: var(--slate); margin-top: 7px; }

/* ---------- contact ---------- */
.reach-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.spec-form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px 30px; }
.spec-form h2 { margin-bottom: 6px; }
.spec-form .form-note { color: var(--slate); font-size: 14px; margin-bottom: 18px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-form label { display: block; font-weight: 700; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); margin: 14px 0 6px; }
.spec-form label .fno { color: var(--acc); margin-right: 6px; }
.spec-form input, .spec-form select, .spec-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 15px; background: var(--paper); color: var(--ink); }
.spec-form input:focus, .spec-form select:focus, .spec-form textarea:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.spec-form textarea { min-height: 96px; resize: vertical; }
.check-row { display: flex; gap: 22px; margin-top: 14px; }
.check-row label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: 14.5px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.check-row input { width: auto; }
.spec-form .action-btn { margin-top: 22px; width: 100%; }
.send-hint { font-size: 13.5px; color: var(--slate); margin: 10px 0 0; }
.reach-details h2 { margin-bottom: 14px; }
.reach-details dl { margin-bottom: 20px; }
.reach-details dt { font-weight: 700; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); margin-top: 14px; }
.reach-details dd { margin-left: 0; }
.map-frame { width: 100%; height: 290px; border: 1px solid var(--line); border-radius: 12px; }

/* ---------- footer ---------- */
.groundfoot { background: var(--deep); color: #c3ccc6; padding: 58px 0 26px; font-size: 14.5px; }
.foot-cta { max-width: var(--maxw); margin: 0 auto 34px; padding: 0 36px 34px; border-bottom: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-cta p { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin: 0; max-width: 620px; }
.foot-cta .action-btn { background: #d6f0de; color: #0f2117 !important; }
.foot-cta .action-btn:hover { background: #ffffff; color: #0f2117 !important; }
.groundfoot-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.groundfoot h4 { color: #fff; font-size: 13.5px; letter-spacing: 0.05em; margin-bottom: 11px; }
.groundfoot a { color: #a7b3ac; }
.groundfoot a:hover { color: #fff; }
.groundfoot ul { list-style: none; }
.groundfoot li { margin-bottom: 7px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand span { font-weight: 800; font-size: 16.5px; color: #fff; letter-spacing: -0.02em; }
.foot-legal { max-width: var(--maxw); margin: 30px auto 0; padding: 16px 36px 0; border-top: 1px solid rgba(255,255,255,0.14); color: #8d9a92; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* references (why organic) */
.refs { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; }
.refs h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.refs ol { margin-left: 20px; color: var(--slate); font-size: 13.5px; }
.refs li { margin-bottom: 4px; }

/* reasons list */
.reasons { counter-reset: rsn; margin-top: 10px; }
.reasons li { list-style: none; counter-increment: rsn; padding: 16px 0 16px 58px; position: relative; border-bottom: 1px solid var(--line); }
.reasons li:last-child { border-bottom: none; }
.reasons li::before { content: counter(rsn, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-size: 15px; font-weight: 800; color: var(--acc); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--card); }
.reasons strong { display: block; font-size: 16.5px; }
.reasons span { color: var(--slate); font-size: 14.5px; }
.reasons sup { color: var(--acc); font-weight: 700; }

/* skip link, focus */
.skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; background: var(--deep); color: #fff; padding: 0; z-index: 100; }
.skip-link:focus { width: auto; height: auto; clip: auto; padding: 10px 16px; left: 8px; top: 8px; }
.skip-link:focus { left: 0; top: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .split-wn, .reach-grid, .groundfoot-inner { grid-template-columns: 1fr; }
  .grid4, .steps6 { grid-template-columns: 1fr 1fr; }
  .steps3 { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr 1fr; }
  .specbar-in { grid-template-columns: 1fr 1fr; }
  .specbar-in > div { border-left: none; padding-left: 0; }
  h1, .hero h1 { font-size: 34px; }
  .mosaic { height: 330px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .navbar { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  .navbar.open { display: flex; }
  .about-menu { position: static; box-shadow: none; border: none; padding-left: 14px; display: block; }
}
@media (max-width: 660px) {
  .grid4, .steps6, .standards-grid { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .goods-table { font-size: 13px; }
  .goods-table th, .goods-table td { padding: 8px 9px; }
  .form-chip { font-size: 10.5px; }
}


/* ===== mobile refinements (items 3,4,5) ===== */
.menu-btn {
  width: 42px; height: 40px; padding: 0; position: relative;
}
.menu-btn .bars {
  position: absolute; top: 50%; left: 50%; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%);
  transition: background 0.2s ease;
}
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transform-origin: center; transition: transform 0.2s ease, top 0.2s ease;
}
.menu-btn .bars::before { top: -7px; }
.menu-btn .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 660px) {
  body { font-size: 15.5px; }
  .band { padding: 0 18px; }
  .top-in { padding: 12px 18px; }
  .hero { padding-top: 34px; padding-bottom: 34px; }
  .hero h1 { font-size: 29px; line-height: 1.15; }
  .hero .lede { font-size: 16.5px; }
  .mosaic { height: 260px; gap: 8px; }
  .specbar-in { padding: 0 18px; grid-template-columns: 1fr 1fr; }
  .specbar-in > div { padding: 16px 14px; border-left: 1px solid rgba(255,255,255,0.1); }
  .specbar-in > div:nth-child(odd) { border-left: none; padding-left: 0; }
  .specbar-in > div:nth-child(1), .specbar-in > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .block, .block-snow { padding-top: 40px; padding-bottom: 40px; }
  h1, .page-top h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .page-top { padding-top: 34px; padding-bottom: 6px; }
  .grid4 { gap: 14px; }
  .steps6 { gap: 12px; }
  .catalog-tools { gap: 8px; }
  .catalog-tools input[type="search"] { min-width: 100%; order: -1; }
  .cat-tab { font-size: 13px; padding: 7px 13px; }
  .reach-grid { gap: 28px; }
  .spec-form { padding: 20px 18px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .foot-cta { padding: 0 18px 26px; }
  .foot-cta p { font-size: 19px; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 18px; }
  .foot-brand-col { grid-column: 1 / -1; }
  .foot-contact a[href^="mailto"] { word-break: break-word; overflow-wrap: anywhere; }
  .foot-certline { padding: 24px 18px 0; font-size: 14px; }
  .foot-certrow { padding: 12px 18px 0; gap: 22px; }
  .foot-certrow img { height: 42px; }
  .foot-legal { padding: 16px 18px 0; flex-direction: column; gap: 8px; }
  .cert-strip-inner { padding: 0 18px; }
  .goods-cards { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 400px) {
  .goods-cards { grid-template-columns: 1fr !important; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .mosaic .tall { grid-row: auto; }
  .mosaic img { height: 180px; }
  .foot-main { grid-template-columns: 1fr; gap: 22px; }
  .foot-brand-col { grid-column: auto; }
}


/* ===== product cards (item 13) ===== */
.goods-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 4px; }
.goods-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.goods-card:hover { border-color: var(--acc); box-shadow: 0 8px 22px rgba(22,26,23,0.08); transform: translateY(-2px); }
.goods-card h3 { font-size: 17px; line-height: 1.2; margin-bottom: 3px; }
.gc-latin { font-style: italic; color: var(--slate); font-size: 13.5px; margin-bottom: 14px; }
.gc-forms { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.gc-var {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--acc-dk);
  background: #e7f1ea; border: 1px solid #d3e6d9; border-radius: 5px; padding: 5px 11px;
  text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.gc-var:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.gc-codes { margin-top: auto; font-size: 11.5px; color: var(--slate); letter-spacing: 0.01em; }

/* ===== restructured footer (item 14) ===== */
.foot-main { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; }
.foot-brand-col .foot-logo { width: 74px; height: 74px; margin-bottom: 14px; }
.foot-brandname { font-weight: 800; font-size: 18px; color: #fff; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.02em; width: fit-content; }
.foot-brandname span { display: block; text-align: center; font-weight: 600; font-size: 13px; color: #9fb0a6; letter-spacing: 0.04em; }
.foot-blurb { color: #a7b3ac; font-size: 14px; margin: 0; max-width: 320px; }
.foot-links h4, .foot-contact h4 { color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.foot-links ul, .foot-contact ul { list-style: none; }
.foot-links li, .foot-contact li { margin-bottom: 9px; font-size: 14px; }
.foot-links a, .foot-contact a { color: #a7b3ac; }
.foot-links a:hover, .foot-contact a:hover { color: #fff; }
.foot-contact li { color: #a7b3ac; }
.foot-certline { max-width: var(--maxw); margin: 40px auto 0; padding: 26px 36px 0; border-top: 1px solid rgba(255,255,255,0.14); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.foot-certrow { max-width: var(--maxw); margin: 14px auto 0; padding: 0 36px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.foot-certrow img { height: 52px; width: auto; background: #fff; border-radius: 6px; padding: 7px 9px; }
.foot-certrow img.fc-brcgs { height: 52px; padding: 12px 9px; }
.foot-certrow img.fc-ceres { padding: 5px 8px; }

/* form required tags + honeypot (items 11,12) */
.spec-form .req { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--acc); background: #e7f1ea; border-radius: 4px; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }
.hidden-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== individual product page ===== */
.crumb { padding-top: 22px; font-size: 13.5px; color: var(--slate); }
.crumb a { color: var(--slate); }
.crumb a:hover { color: var(--acc); }
.crumb span { margin: 0 6px; color: var(--line); }
.crumb b { color: var(--ink); font-weight: 700; }
.prod { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 30px; padding-bottom: 20px; align-items: start; }
.prod-img { width: 100%; height: 440px; object-fit: cover; border-radius: 12px; }
.prod-imgcap { font-size: 13px; color: var(--slate); margin-top: 10px; }
.prod-imgcap::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--acc); vertical-align: middle; margin-right: 8px; }
.prod-info h1 { font-size: 40px; margin: 6px 0 2px; }
.prod-latin { font-style: italic; color: var(--slate); font-size: 16px; margin-bottom: 14px; }
.prod-lede { color: var(--ink); margin-bottom: 22px; }
.var-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.var-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.var-pick {
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 9px 16px;
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.var-pick:hover { border-color: var(--acc); color: var(--acc); }
.var-pick.on { background: var(--deep); border-color: var(--deep); color: #fff; }
.spec-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; }
.spec-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.spec-head span:first-child { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.spec-code { font-weight: 700; font-size: 14px; color: var(--acc); }
.spec-list { margin: 0; }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid #eef1ee; }
.spec-row:last-child { border-bottom: none; }
.spec-row dt { font-weight: 700; font-size: 13.5px; color: var(--slate); }
.spec-row dd { margin: 0; font-size: 14.5px; }
.spec-note { font-size: 12.5px; color: var(--slate); margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.action-outline {
  display: inline-block; background: none; color: var(--acc-dk); font-weight: 700; font-size: 15.5px;
  padding: 13px 24px; border: 1px solid var(--acc); border-radius: 8px; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.action-outline:hover { background: var(--acc); color: #fff; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.rel-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.rel-card:hover { border-color: var(--acc); box-shadow: 0 8px 22px rgba(22,26,23,0.08); }
.rel-name { display: block; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.rel-latin { display: block; font-style: italic; color: var(--slate); font-size: 13px; margin-top: 2px; }

/* product-list card title as link */
.gc-title { color: var(--ink); text-decoration: none; }
.gc-title:hover { color: var(--acc); }

/* ===== sample page verify panel + multiselect ===== */
.verify-panel { background: var(--snow); border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: 0 12px 12px 0; padding: 22px 24px; }
.verify-panel h2 { font-size: 22px; margin-bottom: 10px; }
.verify-foot { font-size: 13.5px; color: var(--slate); margin: 12px 0 0; }
.spec-form select[multiple] { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 14.5px; background: var(--paper); }
.spec-form select[multiple]:focus { outline: 2px solid var(--acc); outline-offset: 1px; }

@media (max-width: 920px) {
  .prod { grid-template-columns: 1fr; gap: 26px; }
  .prod-img { height: 300px; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .prod-info h1 { font-size: 32px; }
}
@media (max-width: 660px) {
  .rel-grid { grid-template-columns: 1fr; }
  .prod-actions { flex-direction: column; }
  .prod-actions a { text-align: center; }
  .spec-row { grid-template-columns: 110px 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 18px; }
  .foot-brand-col { grid-column: 1 / -1; }
  .foot-contact a[href^="mailto"] { word-break: break-word; overflow-wrap: anywhere; }
}
@media (max-width: 440px) {
  .foot-main { grid-template-columns: 1fr; gap: 22px; }
  .foot-brand-col { grid-column: auto; }
}

/* whole product card clickable */
.goods-card.is-clickable { cursor: pointer; }
.goods-card.is-clickable .gc-var { cursor: pointer; }

/* hero CTA layout: inline on desktop, clean stack on mobile */
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 660px) {
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .action-btn, .hero-cta .action-outline { text-align: center; width: 100%; }
  .hero-cta .quiet-link { margin-left: 0; text-align: center; padding-top: 4px; white-space: nowrap; }
}

/* about-us vision/mission/principles: 3 cols desktop, collapses with steps6 rules */
.steps3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps3col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .steps3col { grid-template-columns: 1fr; } }

/* narrowest phones (<=380px): prevent 6px form overflow */
@media (max-width: 400px) {
  .reach-grid { gap: 20px; }
  .spec-form { padding: 18px 15px; }
  .verify-panel { padding: 18px 16px; }
}

/* allow form grids to shrink below 375px (min-content was locking ~366px) */
@media (max-width: 420px) {
  .reach-grid, .reach-grid > * { min-width: 0; }
  .spec-form, .reach-details { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .spec-form select[multiple] { max-width: 100%; }
}

/* ===== language switcher ===== */
.langsw { display: inline-flex; gap: 6px; margin-left: 14px; align-items: center; }
.langsw a { font-size: 12.5px; font-weight: 700; color: var(--slate); padding: 4px 7px; border-radius: 5px; text-decoration: none; }
.langsw a:hover { background: var(--snow); color: var(--acc); }
.langsw a.langsw-cur { color: var(--acc); background: var(--snow); }

/* ===== Arabic / RTL ===== */
html[dir="rtl"] body { font-family: "Cairo", "Mulish", system-ui, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: "Cairo", "Lora", serif; letter-spacing: 0; }
html[dir="rtl"] .brand-name, html[dir="rtl"] .foot-brandname { letter-spacing: 0; }
html[dir="rtl"] .sec-tag, html[dir="rtl"] .kicker, html[dir="rtl"] .var-label,
html[dir="rtl"] .spec-head span:first-child { letter-spacing: 0; }
/* flip directional spacing */
html[dir="rtl"] .langsw { margin-left: 0; margin-right: 14px; }
html[dir="rtl"] .crumb span { margin: 0 6px; }
html[dir="rtl"] .prod-imgcap::before { margin-right: 0; margin-left: 8px; }
html[dir="rtl"] .verify-panel { border-left: none; border-right: 4px solid var(--acc); border-radius: 12px 0 0 12px; }
html[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 6px; }
/* the brand lockup stays LTR (Latin brand name) even on RTL pages */
html[dir="rtl"] .brandline { direction: ltr; }
