/* ============================================================
   CHEMORA — design system
   ============================================================ */
:root {
  --ink: #0a1d22;
  --deep: #0e2a31;
  --deep-2: #10343d;
  --pine: #0e7c6b;
  --pine-dark: #0a5f52;
  --pine-soft: #dcefe9;
  --lime: #c9f26b;
  --paper: #fafbf9;
  --card: #ffffff;
  --line: #e4eae6;
  --txt: #22333a;
  --muted: #5f7178;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 29, 34, .06), 0 2px 10px rgba(10, 29, 34, .05);
  --shadow-md: 0 4px 14px rgba(10, 29, 34, .08), 0 12px 40px rgba(10, 29, 34, .08);
  --font-display: "Sora", "Manrope", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--txt);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; letter-spacing: -0.015em; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(14, 124, 107, .3); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(201, 242, 107, .35); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: all .3s ease;
}
.site-header.scrolled {
  background: rgba(250, 251, 249, .88); backdrop-filter: blur(14px);
  padding: 10px 0; box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(10, 29, 34, .06);
}
.nav { display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: .02em; color: var(--ink); }
.logo .mark { width: 34px; height: 34px; flex: none; }
.site-header.on-dark:not(.scrolled) .logo { color: #fff; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--txt); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--pine); transition: width .25s ease; border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.site-header.on-dark:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, .85); }
.nav-cta { margin-left: 4px; }

.burger { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; position: relative; z-index: 110; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: all .25s; }
.site-header.on-dark:not(.scrolled) .burger span { background: #fff; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden;
  padding: 140px 0 100px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 29, 34, .96) 0%, rgba(10, 29, 34, .82) 42%, rgba(10, 29, 34, .25) 75%),
    linear-gradient(0deg, rgba(10, 29, 34, .55), transparent 40%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lime); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 66px); font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }

.hero-search {
  display: flex; align-items: center; gap: 0; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px;
  max-width: 560px; backdrop-filter: blur(8px);
}
.hero-search input {
  flex: 1; background: transparent; border: 0; outline: 0; color: #fff;
  padding: 10px 18px; font-size: 15px;
}
.hero-search input::placeholder { color: rgba(255, 255, 255, .5); }
.hero-search button {
  background: var(--lime); color: var(--ink); border: 0; border-radius: 999px;
  padding: 12px 26px; font-weight: 700; font-size: 14.5px; transition: transform .2s;
}
.hero-search button:hover { transform: scale(1.03); }
.hero-hints { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .55); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hero-hints b { font-weight: 500; color: rgba(255, 255, 255, .8); cursor: pointer; }
.hero-hints b:hover { color: var(--lime); }

/* molecule deco */
.hero-mol { position: absolute; right: -60px; top: 90px; opacity: .16; z-index: 1; pointer-events: none; }

/* ---------- stat bar ---------- */
.statbar { background: var(--deep); color: #fff; }
.statbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--lime); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, .65); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin: 14px 0 14px; }
.sec-head p { color: var(--muted); font-size: 16.5px; }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pine);
}

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink);
  min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .4s; opacity: .85; }
.cat-card:hover img { transform: scale(1.05); opacity: .95; }
.cat-card.solid img { display: none; }
.cat-card .veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 29, 34, .92) 8%, rgba(10, 29, 34, .28) 55%, transparent 85%); }
.cat-card.solid .veil { background: linear-gradient(0deg, rgba(10, 29, 34, .9) 12%, var(--ink) 90%); }
.cat-body { position: relative; z-index: 2; padding: 26px; color: #fff; }
.cat-body .count { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.cat-body h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.cat-body p { font-size: 14px; color: rgba(255, 255, 255, .72); margin-bottom: 16px; }
.cat-body .go { font-weight: 600; font-size: 14px; color: var(--lime); display: inline-flex; align-items: center; gap: 6px; }
.cat-card.solid .cat-body svg { position: absolute; right: 10px; top: -150px; width: 150px; opacity: .5; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: all .28s ease; position: relative; overflow: hidden;
}
.svc-card:hover { border-color: var(--pine); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card .num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--pine);
  background: var(--pine-soft); width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 22px;
}
.svc-card h3 { font-size: 20.5px; margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.svc-card .go { font-weight: 600; font-size: 14px; color: var(--pine); }
.svc-card .metric { position: absolute; right: 22px; top: 26px; text-align: right; }
.svc-card .metric b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.svc-card .metric span { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- dark band: why us ---------- */
.why { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.why .kicker { color: var(--lime); }
.why h2 { color: #fff; }
.why .sec-head p { color: rgba(255, 255, 255, .66); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; z-index: 2; }
.why-card {
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 30px 28px; transition: all .25s ease;
}
.why-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(201, 242, 107, .4); }
.why-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.why-card h3 .ic { color: var(--lime); font-size: 20px; }
.why-card p { color: rgba(255, 255, 255, .68); font-size: 14.5px; }
.why .mol-bg { position: absolute; right: -80px; bottom: -60px; opacity: .1; pointer-events: none; }

/* ---------- about split ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-media .badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--card);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px 22px;
  display: flex; gap: 14px; align-items: center;
}
.about-media .badge b { font-family: var(--font-display); font-size: 26px; color: var(--pine); display: block; line-height: 1; }
.about-media .badge span { font-size: 12px; color: var(--muted); }
.about-copy .points { margin: 26px 0 32px; display: grid; gap: 14px; }
.about-copy .points li { display: flex; gap: 12px; font-size: 15px; color: var(--txt); }
.about-copy .points .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pine-soft);
  color: var(--pine); display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 2px;
}
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.counter b { display: block; font-family: var(--font-display); font-size: 34px; color: var(--ink); letter-spacing: -.02em; }
.counter span { font-size: 13px; color: var(--muted); }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--pine); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.prod-visual { background: linear-gradient(160deg, #f2f8f5, #e7f1ec); padding: 18px 18px 0; }
.prod-visual svg { width: 100%; height: 120px; display: block; }
.prod-info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-info h3 { font-size: 15.5px; font-weight: 600; font-family: var(--font-body); line-height: 1.35; color: var(--ink); }
.prod-meta { font-size: 12.5px; color: var(--muted); font-family: "JetBrains Mono", Consolas, monospace; }
.prod-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--pine-soft); color: var(--pine-dark); }
.prod-card .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.prod-card .foot a { font-size: 13.5px; font-weight: 600; color: var(--pine); }
.prod-card .foot a:hover { text-decoration: underline; }
.prod-card .foot .cas { font-size: 12px; color: var(--muted); font-family: Consolas, monospace; }

/* filters page */
.filter-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.filter-bar input[type="search"] {
  flex: 1 1 260px; padding: 13px 20px; border: 1.5px solid var(--line); border-radius: 999px;
  outline: none; background: var(--card); transition: border-color .2s;
}
.filter-bar input[type="search"]:focus { border-color: var(--pine); }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); font-size: 13.5px; font-weight: 600; color: var(--txt); transition: all .2s;
}
.chip:hover { border-color: var(--pine); color: var(--pine); }
.chip.active { background: var(--pine); border-color: var(--pine); color: #fff; }
.results-note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }

/* ---------- applications ---------- */
.apps { background: linear-gradient(160deg, #f2f8f5, #e9f2ee); }
.app-chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 900px; }
.app-chip {
  padding: 12px 22px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 14.5px; color: var(--txt); box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.app-chip:hover { border-color: var(--pine); color: var(--pine); transform: translateY(-2px); }

/* ---------- logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  height: 84px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  color: #9fb0a9; transition: all .25s;
}
.logo-item:hover { color: var(--pine); border-color: var(--pine); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: all .25s ease;
}
.news-card:hover { border-color: var(--pine); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card time { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.news-card h3 { font-size: 18px; line-height: 1.35; }
.news-card p { font-size: 14px; color: var(--muted); flex: 1; }
.news-card .go { font-weight: 600; font-size: 14px; color: var(--pine); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--deep); border-radius: 24px; color: #fff;
  padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; position: relative; z-index: 2; }
.cta-band p { color: rgba(255, 255, 255, .7); position: relative; z-index: 2; max-width: 560px; }
.cta-band .mol-deco { position: absolute; right: -30px; top: -40px; opacity: .14; z-index: 1; }
.cta-band .actions { display: flex; gap: 14px; flex-shrink: 0; position: relative; z-index: 2; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); margin-top: 96px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 52px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer .f-links li { margin-bottom: 11px; }
.site-footer .f-links a { font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .2s; }
.site-footer .f-links a:hover { color: var(--lime); }
.site-footer .f-brand p { font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.f-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; color: rgba(255, 255, 255, .62); }
.f-contact .ic { color: var(--lime); }
.cert-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cert-pill {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .22); padding: 5px 12px; border-radius: 999px;
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 170px 0 76px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .68); font-size: 17px; max-width: 620px; }
.page-hero .mol-deco { position: absolute; right: 0; top: 0; height: 100%; opacity: .12; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.crumbs a:hover { color: var(--lime); }

/* ---------- product detail ---------- */
.detail { display: grid; grid-template-columns: 460px 1fr; gap: 56px; align-items: start; }
.detail-visual {
  background: linear-gradient(160deg, #f2f8f5, #e7f1ec); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 44px; position: sticky; top: 110px;
}
.detail-visual svg { width: 100%; }
.detail h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.detail .sub { font-family: Consolas, monospace; color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; }
.spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table td:first-child { color: var(--muted); width: 200px; font-weight: 600; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-note { margin-top: 26px; background: #fff8ec; border: 1px solid #f2e3c4; border-radius: 12px; padding: 16px 20px; font-size: 13.5px; color: #7a5c1e; }

/* ---------- services timeline ---------- */
.timeline { position: relative; padding-left: 34px; display: grid; gap: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--pine-soft); }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--pine); border: 4px solid var(--pine-soft);
}
.tl-item h3 { font-size: 19px; margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 15px; max-width: 640px; }

.qc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.qc-split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.instr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.instr-list li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--txt); display: flex; gap: 10px; align-items: center;
}
.instr-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pine); flex: none; }

/* ---------- about page ---------- */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.mile b { font-family: var(--font-display); font-size: 24px; color: var(--pine); display: block; margin-bottom: 8px; }
.mile span { font-size: 14px; color: var(--muted); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 30px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.value-card .ic { font-size: 30px; margin-bottom: 14px; display: block; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-list li { display: flex; gap: 18px; margin-bottom: 30px; }
.contact-list .ic-box {
  flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--pine-soft);
  color: var(--pine); display: grid; place-items: center; font-size: 22px;
}
.contact-list h3 { font-size: 16.5px; margin-bottom: 4px; }
.contact-list p { font-size: 14.5px; color: var(--muted); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 38px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--txt); }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; outline: none;
  background: var(--paper); transition: border-color .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pine); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }

/* ---------- modal & toast ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(10, 29, 34, .55);
  backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border-radius: 22px; width: min(520px, 100%);
  max-height: 90vh; overflow: auto; padding: 36px; position: relative;
  transform: translateY(14px) scale(.98); transition: transform .28s ease;
}
.modal-mask.open .modal { transform: none; }
.modal h3 { font-size: 22px; margin-bottom: 6px; }
.modal .m-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.modal .close-x {
  position: absolute; right: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); font-size: 16px; color: var(--muted);
}
.modal .close-x:hover { border-color: var(--pine); color: var(--pine); }

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 90px);
  background: var(--ink); color: #fff; padding: 15px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; z-index: 300; box-shadow: var(--shadow-md);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); display: flex; gap: 10px; align-items: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast .tick { color: var(--lime); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid, .svc-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-split, .qc-split, .contact-split, .detail { grid-template-columns: 1fr; }
  .detail-visual { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  .milestones, .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .statbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .svc-grid, .news-grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .counter b { font-size: 24px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: auto; padding: 130px 0 80px; }
}
