/* ==========================================================
   Example Lifesciences — main stylesheet
   Brand colours live in :root below; change them once here.
   ========================================================== */
:root {
  --primary: #005a7c;        /* Nalkem deep blue (logo) */
  --primary-600: #006d96;
  --accent: #00adef;         /* Nalkem sky blue (logo) */
  --accent-700: #0079ad;     /* darker sky blue for text & buttons (readable) */
  --gray: #4f4f4f;           /* logo grey */
  --ink: #16242d;
  --muted: #5a6b78;
  --line: #dde6ec;
  --bg: #ffffff;
  --bg-soft: #f3f7f9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 90, 124, .08);
  --max: 1180px;
  --head: "Saira", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { color: var(--accent-700); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; color: var(--primary); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-700); margin-bottom: .8rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem;
  border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn-primary { background: var(--accent-700); color: #fff; }
.btn-primary:hover { background: var(--primary); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.topbar { background: var(--primary); color: #cfe0ea; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--primary); font-size: 1.15rem; }
.brand small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--accent-700); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent);
}
.nav-links .btn { color: #fff; padding: .6rem 1.1rem; }
.nav-links .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: .2s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 1rem 1.25rem 1.5rem; gap: 1rem; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% 10%, rgba(0,173,239,.35), transparent 60%),
              linear-gradient(135deg, #003a52 0%, var(--primary) 55%, #00739e 100%);
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(4rem, 9vw, 7rem) 0; }
.hero h1 { color: #fff; }
.hero .lead { color: #cfe0ea; }
.hero .eyebrow { color: #8fdcff; }
.hero-art { opacity: .95; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.hero-badges span {
  font-size: .8rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
}
.page-hero { background: linear-gradient(135deg, #003a52, var(--primary)); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero .lead { color: #cfe0ea; }
.crumbs { font-size: .85rem; color: #9fbccc; margin-bottom: 1rem; }
.crumbs a { color: #cfe0ea; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: -3rem; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; text-align: center; border: 1px solid var(--line); }
.stat b { display: block; font-size: 2rem; color: var(--primary); font-weight: 800; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: .2s ease; height: 100%;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0,173,239,.12); color: var(--accent-700); margin-bottom: 1rem;
}
.icon svg { width: 24px; height: 24px; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; 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.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/70% no-repeat;
}
.panel {
  border-radius: 20px; padding: 2rem; color: #fff;
  background: linear-gradient(150deg, var(--primary), #00739e);
}
.panel h3 { color: #fff; }
.panel .ticks li { color: #dbe9f0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

/* placeholder blocks: visible dashed border so you remember to replace them */
.placeholder { border: 2px dashed #b8c9d4; background: #f8fbfc; }

/* ---------- Process steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.step::before {
  content: counter(s, decimal-leading-zero); font-weight: 800; font-size: 1.4rem; color: var(--accent);
  display: block; margin-bottom: .4rem;
}
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Product catalogue ---------- */
.toolbar { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.5rem; align-items: center; }
.toolbar input[type=search] { flex: 1 1 260px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem .95rem;
  font-weight: 600; font-size: .85rem; cursor: pointer; color: var(--ink); font-family: inherit;
}
.chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); color: var(--primary); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
td .name { font-weight: 700; color: var(--primary); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; background: var(--bg-soft); color: var(--primary-600); margin: 0 .25rem .25rem 0; }
.tag.ok { background: rgba(0,173,239,.12); color: var(--accent-700); }
.tag.dev { background: #fff4e0; color: #9a6200; }
.count { color: var(--muted); font-size: .9rem; }
.empty { padding: 2rem; text-align: center; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; font: inherit; padding: .8rem .95rem; border: 1px solid #c9d6de; border-radius: 10px;
  background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,173,239,.25); border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; font-size: .88rem; color: var(--muted); }
.check input { width: auto; margin-top: .3rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1rem; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: rgba(0,173,239,.12); color: var(--accent-700); }
.form-status.err { display: block; background: #fdecec; color: #a12828; }

/* ---------- Jobs ---------- */
.job { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.job h3 { margin-bottom: .2rem; }
.job .meta { color: var(--muted); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--primary), var(--accent-700)); color: #fff; border-radius: 22px;
  padding: clamp(2rem, 5vw, 3.2rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 .3rem; }
.cta p { margin: 0; color: #dff3fc; }

/* ---------- Footer ---------- */
.site-footer { background: #002838; color: #a9c0cd; padding: 4rem 0 1.5rem; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer a { color: #cfe0ea; }
.site-footer a:hover { color: #8fdcff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: .5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand small { color: #8fb0c2; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.note { font-size: .85rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Nalkem brand additions ---------- */
.brand img { height: 46px; width: auto; }
.site-footer .brand img { height: 52px; }
.hero-mark { position: absolute; right: -60px; bottom: -80px; width: 420px; opacity: .07; pointer-events: none; }
.illus { border-radius: 20px; overflow: hidden; background: #e9f6fc; box-shadow: var(--shadow); }
.illus svg { width: 100%; height: auto; }
.badge-soon { display:inline-block; font-size:.75rem; font-weight:700; padding:.25rem .65rem; border-radius:999px; background:#fff4e0; color:#8a5a00; vertical-align: middle; }
.leader { display:flex; gap:1rem; align-items:flex-start; }
.avatar { flex:none; width:58px; height:58px; border-radius:50%; display:grid; place-items:center; font-family: var(--head); font-weight:700; color:#fff; background: linear-gradient(135deg, var(--primary), var(--accent)); font-size:1.15rem; }
.leader h3 { margin-bottom:.1rem; }
.leader .role { color: var(--accent-700); font-weight:700; font-size:.88rem; margin-bottom:.5rem; }
.leader ul { margin:.5rem 0 0; padding-left:1.1rem; color: var(--muted); font-size:.92rem; }
.land { display:flex; height:46px; border-radius:12px; overflow:hidden; font-weight:700; font-size:.85rem; color:#fff; }
.land div { display:flex; align-items:center; padding:0 1rem; }
.addr { display:grid; gap:1.2rem; }
.addr h4 { color:#fff; margin-bottom:.3rem; font-size:1rem; }
.addr p { margin:0; color:#dbe9f0; }
.photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.wide img { aspect-ratio: 12 / 5; }
.hero-photo { box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.15); }
.hero-photo img { aspect-ratio: 4 / 3.4; object-position: 55% 60%; }
@media (max-width: 860px) { .hero-photo { display: block; } .hero-photo img { aspect-ratio: 16 / 10; } }
/* Contact page map + keep the "Contact Us" button readable on its own page */
.nav-links .btn[aria-current="page"] { color: #fff; background: var(--primary); }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-link { display: block; padding: .8rem 1rem; font-weight: 700; font-size: .92rem; border-top: 1px solid var(--line); }
