/* =========================================================
   Kynetic International Trading — styles
   ========================================================= */
:root {
  --ink: #0d1110;
  --ink-2: #3a4240;
  --muted: #6b7471;
  --line: #e4e6e3;
  --paper: #ffffff;
  --tint: #f4f5f2;
  --dark: #0f1413;
  --accent: #0a7b5c;
  --accent-ink: #065a43;
  --accent-soft: #e3f2ec;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13,17,16,.04), 0 8px 30px rgba(13,17,16,.06);
  --container: 1200px;
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #b9c1be; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #7fe0bf; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head-row { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.section-head-row .section-lede { margin: 0; }
.section-lede { font-size: 1.08rem; color: var(--muted); }
@media (max-width: 860px) { .section-head-row { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; flex: none; background: currentColor;
  -webkit-mask: url(../assets/img/mark.png) center / contain no-repeat;
          mask: url(../assets/img/mark.png) center / contain no-repeat;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .22em; }
.brand-sub { font-size: .6rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-top: 5px; opacity: .7; }
.brand-light { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header .brand { color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; font-weight: 500; }
.nav > a:not(.btn), .nav-parent { opacity: .85; transition: opacity .2s; position: relative; }
.nav > a:not(.btn):hover, .nav > a.active, .nav-parent:hover, .nav-parent.active, .nav-group.open .nav-parent { opacity: 1; }
.nav > a.active:not(.btn)::after, .nav-parent.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-parent.active::after { right: 22px; }

/* Dropdown */
.nav-group { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 500; }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-menu {
  position: absolute; top: calc(100% + 18px); left: 50%; width: 310px; padding: 8px;
  background: #fff; color: var(--ink); border-radius: 16px;
  box-shadow: 0 2px 6px rgba(13,17,16,.06), 0 24px 60px rgba(13,17,16,.16);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; transition: background .15s; }
.nav-menu a strong { font-family: var(--display); font-weight: 600; font-size: .98rem; }
.nav-menu a span { font-size: .82rem; color: var(--muted); }
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a.active { background: var(--tint); }
.nav-menu a.active strong { color: var(--accent); }
@media (hover: hover) and (min-width: 961px) {
  .nav-group:hover .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-group:hover .chev { transform: rotate(180deg); }
}
.nav-group.open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-group.open .chev { transform: rotate(180deg); }

/* blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); transition: opacity .3s var(--ease); }
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled { color: var(--ink); }
.site-header.scrolled .brand { color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 32px;
    background: #fff; color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav { overflow-y: auto; }
  .nav > a:not(.btn) { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav > a.active:not(.btn)::after, .nav-parent.active::after { display: none; }
  .nav > a.active:not(.btn) { color: var(--accent); }
  .nav-group { border-bottom: 1px solid var(--line); padding: 16px 4px 8px; }
  .nav-parent { opacity: 1; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
  .chev { display: none; }
  .nav-menu, .nav-group.open .nav-menu { position: static; width: auto; padding: 6px 0 0; box-shadow: none; border-radius: 0; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .nav-menu::before { display: none; }
  .nav-menu a { padding: 10px 12px; margin: 0 -12px; }
  .nav-menu a strong { font-size: 1.1rem; font-family: var(--body); font-weight: 500; }
  .nav .nav-cta { margin-top: 24px; padding: 16px; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: #fff; color: var(--ink); }
  .nav-open .site-header::before { opacity: 0; }
  .nav-open .site-header .brand { color: var(--ink); }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 900px); min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; padding-top: 120px;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,12,11,.55) 0%, rgba(8,12,11,.15) 30%, rgba(8,12,11,.55) 62%, rgba(8,12,11,.9) 100%),
  linear-gradient(90deg, rgba(8,12,11,.55) 0%, rgba(8,12,11,0) 65%); }
.hero-content { position: relative; padding-bottom: 56px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 26px; }
.hero-lede { max-width: 580px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.82); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-strip {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
}
.strip-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 28px 24px 0; font-family: var(--display); font-weight: 500; font-size: 1.05rem; transition: opacity .2s; }
.strip-arrow { color: #7fe0bf; transition: transform .25s var(--ease); }
.strip-item:hover .strip-arrow { transform: translateX(4px); }
.strip-item + .strip-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
.strip-item:hover { opacity: .75; }
.strip-num { font-size: .75rem; color: #7fe0bf; letter-spacing: .1em; }
@media (max-width: 700px) {
  .hero-bg { object-position: 32% 50%; }
  .hero-strip { grid-template-columns: 1fr; }
  .strip-item { padding: 14px 0; }
  .strip-item + .strip-item { padding-right: 0; }
  .strip-item + .strip-item { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hero-content { padding-bottom: 32px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-copy h2 { margin-bottom: 24px; }
.pillars { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 26px; }
.pillars li { display: flex; gap: 18px; align-items: flex-start; }
.pillars h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pillars p { margin: 0; color: var(--muted); font-size: .98rem; }
.pillar-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.pillar-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.about-media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint); box-shadow: var(--shadow); max-height: 680px; }
.about-video { width: 100%; height: 100%; object-fit: cover; }
.about-media figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; gap: 10px; align-items: center;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(13,17,16,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: .86rem; line-height: 1.4;
}
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #4ee0ab; box-shadow: 0 0 0 0 rgba(78,224,171,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(78,224,171,0); } 100% { box-shadow: 0 0 0 0 rgba(78,224,171,0); } }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 5; max-width: 480px; }
}

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(13,17,16,.04), 0 18px 48px rgba(13,17,16,.1); }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product-media-light { background: #fff; border-bottom: 1px solid var(--line); }
.product-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product-num { font-family: var(--display); font-size: .78rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 10px; }
.product h3 { font-size: 1.45rem; margin-bottom: 12px; }
.product h3 a:hover { color: var(--accent); }
.product-media { display: block; }
.product p { color: var(--muted); font-size: .98rem; }
.tags { list-style: none; padding: 0; margin: 4px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.product .link-arrow { margin-top: auto; }
@media (max-width: 960px) { .products { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Medical ---------- */
.med-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; margin-bottom: 88px; }
.med-feature-media { margin: 0; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 32px; }
.med-feature-media img { max-height: 560px; width: auto; object-fit: contain; }
.med-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.med-line { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 18px; transition: border-color .3s, box-shadow .3s; }
.med-line:hover { border-color: transparent; box-shadow: var(--shadow); }
.med-line img { height: 150px; width: 100%; object-fit: contain; }
.med-line h3 { margin-bottom: 6px; }
.med-line p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .med-feature { grid-template-columns: 1fr; } .med-feature-media img { max-height: 380px; } }
@media (max-width: 560px) { .med-feature-list { grid-template-columns: 1fr; } }

.subhead { font-size: 1.5rem; margin-bottom: 24px; }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 88px; }
.cat-item { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; transition: box-shadow .3s, border-color .3s; }
.cat-item:hover { border-color: transparent; box-shadow: var(--shadow); }
.cat-item img { aspect-ratio: 1; width: 100%; object-fit: contain; padding: 10px; }
.cat-item figcaption { padding: 12px 16px 16px; font-size: .9rem; font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); }
.cat-cta { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; background: var(--accent); color: #fff; border-color: var(--accent); }
.cat-cta span { opacity: .8; font-size: .92rem; }
.cat-cta strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.cat-cta:hover { background: var(--accent-ink); }
@media (max-width: 860px) { .catalog { grid-template-columns: repeat(2, 1fr); } }

.quality { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 24px; align-items: stretch; margin-bottom: 88px; }
.quality-media { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 280px; }
.quality-media img { width: 100%; height: 100%; object-fit: cover; }
.quality-copy { background: var(--tint); border-radius: var(--radius); padding: 32px; }
.quality-copy h3 { font-size: 1.35rem; margin-bottom: 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; font-size: .95rem; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 960px) { .quality { grid-template-columns: 1fr 1fr; } .quality-copy { grid-column: 1 / -1; } }
@media (max-width: 560px) { .quality { grid-template-columns: 1fr; } .quality-media { min-height: 220px; } }

.group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.group-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.group-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.group-body { padding: 28px; }
.group-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.group-meta { font-size: .86rem; color: var(--accent); font-weight: 500; margin-bottom: 14px; }
.group-card p:not(.group-meta) { color: var(--muted); font-size: .96rem; }
@media (max-width: 700px) { .group-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 32px 28px 8px 0; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: #4ee0ab; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.08); }
.step + .step::before { left: 28px; }
.step-num { display: block; font-family: var(--display); font-size: .8rem; color: #7fe0bf; letter-spacing: .1em; margin-bottom: 36px; }
.step h3 { font-size: 1.35rem; margin-bottom: 12px; }
.step p { font-size: .95rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step::before { left: 0; }
  .step-num { margin-bottom: 16px; }
}

.markets { margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.markets-label { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #7fe0bf; }
.markets-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.markets-list li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); text-align: left; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,12,11,.7)); opacity: .9; transition: opacity .3s; }
.g-caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-size: .9rem; font-weight: 500; }
.g-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .3s var(--ease); }
.g-play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.g-item:hover .g-play { transform: scale(1.08); }
.g-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 160px; gap: 10px; } .g-caption { font-size: .78rem; left: 10px; bottom: 10px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-list li { display: grid; gap: 2px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.c-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-value { font-family: var(--display); font-size: 1.1rem; color: var(--ink); font-weight: 500; word-break: break-word; }
a.c-value:hover { color: var(--accent); }

.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid #d6d9d5; border-radius: var(--radius-sm); background: #fbfbfa;
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7471' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2412d; }
.field-error { color: #c2412d; font-size: .8rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 16px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: var(--accent); font-weight: 500; }
.form-status a { text-decoration: underline; }
.form-status.err { color: #c2412d; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #8f9894; padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h4 { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7fe0bf; margin-bottom: 6px; }
.footer-col a { word-break: break-word; }
.footer-col a:hover, .footer-base a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,9,8,.94); display: flex; align-items: center; justify-content: center; padding: 60px 72px; opacity: 0; transition: opacity .25s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.lb-media img, .lb-media video { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); border-radius: 8px; object-fit: contain; }
.lb-stage figcaption { color: #cfd6d3; font-size: .95rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 28px; line-height: 1; }
.lb-nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 32px; line-height: 1; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
@media (max-width: 600px) { .lightbox { padding: 64px 12px; } .lb-nav { top: auto; bottom: 14px; margin: 0; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Multi-page additions
   ========================================================= */
.btn-light { background: #fff; color: var(--accent-ink); }
.btn-light:hover { background: var(--accent-soft); }
.link-light { color: #7fe0bf; }

/* Page banner */
.page-hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: calc(76px + clamp(72px, 11vw, 140px)) 0 clamp(56px, 7vw, 96px); }
.page-hero-short { padding-bottom: clamp(44px, 5vw, 64px); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,12,11,.62) 0%, rgba(8,12,11,.35) 45%, rgba(8,12,11,.85) 100%),
  linear-gradient(90deg, rgba(8,12,11,.6) 0%, rgba(8,12,11,0) 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.2rem); letter-spacing: -0.03em; line-height: 1.05; max-width: 16ch; margin-bottom: 22px; text-wrap: balance; }
.page-lede { max-width: 600px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255,255,255,.82); margin: 0; }
.crumb { display: flex; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumb span:last-child { color: #7fe0bf; }
h2 { text-wrap: balance; }

/* Contact banner */
.cta-band { background: var(--accent); color: rgba(255,255,255,.85); padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px 64px; flex-wrap: wrap; }
.cta-copy h2 { color: #fff; margin-bottom: 10px; }
.cta-copy p { margin: 0; max-width: 520px; }
.cta-actions { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; }
.cta-direct { display: grid; gap: 4px; font-weight: 500; }
.cta-direct a { color: #fff; }
.cta-direct a:hover { text-decoration: underline; }

/* Produce */
.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.item { padding: 28px 24px; border-top: 2px solid var(--accent); background: var(--tint); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.item h3 { margin-bottom: 10px; }
.item p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) { .item-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .item-grid { grid-template-columns: 1fr; } }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-step img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 18px; }
.flow-step .step-num { display: block; font-family: var(--display); font-size: .8rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 8px; }
.flow-step h3 { margin-bottom: 8px; }
.flow-step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow-step img { aspect-ratio: 16 / 10; } }

.checks-lg { margin: 28px 0 32px; gap: 16px; }
.checks-lg li { font-size: 1rem; }
.checks a { color: var(--accent); text-decoration: underline; }

/* Containers */
.line-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.line-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.line-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.line-body { padding: 28px; }
.line-body h3 { font-size: 1.45rem; margin-bottom: 6px; }
.line-meta { color: var(--accent); font-weight: 500; font-size: .9rem; margin-bottom: 14px; }
.line-body > p:not(.line-meta) { color: var(--muted); }
.line-body .tags { margin-bottom: 0; }
@media (max-width: 760px) { .line-grid { grid-template-columns: 1fr; } }

.deploy-media { margin: 0; border-radius: var(--radius); overflow: hidden; max-height: 640px; }
.deploy-media img { width: 100%; height: 100%; object-fit: cover; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.spec { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.spec h3 { margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); padding-right: 20px; width: 44%; }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-cta { margin: 36px 0 0; }
.spec-single { grid-template-columns: minmax(0, 640px); }
@media (max-width: 860px) { .spec-grid { grid-template-columns: 1fr; } }

/* How we work */
.process-list { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(40px, 6vw, 72px); }
.process-item { display: grid; grid-template-columns: auto 1fr 1fr; gap: 28px 48px; align-items: center; padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.process-item:first-child { padding-top: 0; border-top: 0; }
.process-num { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; color: var(--accent); line-height: 1; align-self: start; }
.process-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.process-body p { color: var(--muted); }
.process-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) {
  .process-item { grid-template-columns: 1fr; }
  .process-item img { order: -1; aspect-ratio: 16 / 9; }
}

.markets-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px 64px; align-items: center; }
.markets-block h2 { margin: 0; }
.markets-list-light li { color: var(--ink); border-color: var(--line); background: var(--tint); }
@media (max-width: 760px) { .markets-block { grid-template-columns: 1fr; } }

/* Gallery page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); padding: 9px 18px; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery.filtered .g-item { grid-column: auto; grid-row: auto; }
.gallery-teaser { grid-auto-rows: 280px; }
@media (max-width: 960px) {
  .gallery-teaser { grid-auto-rows: 200px; }
  .gallery-teaser .g-wide { grid-column: 1 / -1; }
}

/* Contact page */
.contact-info h2 { font-size: 1.6rem; }
.contact-list { margin-top: 20px; }
.next-steps { margin-top: 40px; }
.next-steps h3 { margin-bottom: 14px; }
.next-steps ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; color: var(--muted); }
.next-steps li::marker { color: var(--accent); font-weight: 600; }

/* Plain (photo-free) page banner */
.page-hero-plain { background:
  radial-gradient(120% 90% at 85% 0%, rgba(10,123,92,.45) 0%, rgba(10,123,92,0) 60%),
  linear-gradient(160deg, #13201c 0%, var(--dark) 70%); }
.page-hero-plain::after { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; }
.specialties { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.specialties li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: .88rem; color: #fff; }

/* Medical illustration on the home card */
.product-media-illustration { background: linear-gradient(160deg, #eef7f3 0%, #dcefe7 100%); color: var(--accent-ink); }
.med-illustration { width: 100%; height: 100%; display: block; }
.ill-panel { fill: #fff; stroke: #b9d9cc; stroke-width: 2; }
.ill-screen { fill: #0f1f1a; }
.ill-pulse { fill: none; stroke: #4ee0ab; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill-accent { fill: var(--accent); }
.ill-cross { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.ill-ring { fill: none; stroke: var(--accent); stroke-width: 3; }

/* Medical page */
.supply-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.supply { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.supply-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.supply-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.supply h3 { margin-bottom: 10px; }
.supply p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .supply-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .supply-grid { grid-template-columns: 1fr; } }

.consumables { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px 72px; align-items: start; }
.consumables h2 { margin-bottom: 16px; }
.consumables .section-lede { margin-bottom: 28px; }
.consumable-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.consumable-list li { padding: 14px 0 14px 22px; border-top: 1px solid #dfe2de; position: relative; color: var(--ink); font-weight: 500; }
.consumable-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) { .consumables { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .consumable-list { grid-template-columns: 1fr; } }

.quality-wide { max-width: 760px; }

.catalog-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .catalog-5 { grid-template-columns: repeat(3, 1fr); } .catalog-5 .cat-cta { grid-column: 1 / -1; } }
@media (max-width: 600px) { .catalog-5 { grid-template-columns: repeat(2, 1fr); } .catalog-5 .cat-cta { grid-column: auto; } }

.item-origin { margin: 0 0 8px !important; font-size: .72rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) !important; }

.farm-video { position: relative; margin-top: 32px; border-radius: var(--radius); overflow: hidden; background: var(--dark); aspect-ratio: 16 / 7; max-width: 100%; }
.farm-video video { width: 100%; height: 100%; object-fit: cover; }
.farm-video p { position: absolute; left: 16px; bottom: 16px; margin: 0; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(13,17,16,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: .86rem; }
@media (max-width: 600px) { .farm-video { aspect-ratio: 4 / 3; } }
