/* KC Chemical website — shared styles
   Design tokens and components derived from the Claude Design project
   "KC Chemical 홈페이지 리뉴얼". */

:root {
  --ink: #0E1418;
  --ink-2: #414C54;
  --muted: #5C666E;
  --faint: #8A9299;
  --line: #E4E7E9;
  --line-2: #EEF0F1;
  --line-3: #D8DCDF;
  --bg-2: #F4F5F6;
  --bg-3: #EBEEF0;
  --dark: #0B1116;
  --accent: #F0703A;
  --link: #0E5C9E;
  --link-hover: #0A4374;
  --dark-hover: #25313A;
  --light-hover: #E9EDF0;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink) !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- reveal on scroll ---------- */
html.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js [data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-rv] { opacity: 1; transform: none; transition: none; }
}

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; }
.section { padding: 100px 32px; }
.section-tight-top { padding-top: 0; }
.section-lg { padding: 110px 32px 90px; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--dark); color: #fff; }
.stack { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-14 { gap: 14px; } .gap-16 { gap: 16px; }
.gap-18 { gap: 18px; } .gap-20 { gap: 20px; } .gap-22 { gap: 22px; } .gap-24 { gap: 24px; }
.grid { display: grid; grid-template-columns: var(--cols, repeat(2, minmax(0,1fr))); gap: var(--gap, 24px); }
.grid.center { align-items: center; }
.grid.start { align-items: start; }
.grid.end { align-items: end; }

/* ---------- typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.section-dark .eyebrow, .eyebrow.on-dark { color: rgba(255,255,255,.6); }
.h1 { margin: 0; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.14; letter-spacing: -.035em; font-weight: 700; color: #fff; }
.h2 { margin: 0; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.22; letter-spacing: -.03em; font-weight: 700; }
.h2-md { font-size: clamp(26px, 2.8vw, 36px); }
.h2-lg { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.2; }
.h2-xl { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; }
.h3 { margin: 0; font-size: 24px; letter-spacing: -.025em; font-weight: 700; }
.h3-md { font-size: 23px; }
.h3-sm { font-size: 21px; }
.h3-xs { font-size: 19px; letter-spacing: -.02em; }
.h4 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.lead { margin: 0; font-size: 16.5px; line-height: 1.85; color: var(--muted); }
.lead.strong { color: var(--ink-2); }
.lead.narrow { max-width: 660px; }
.lead.wide { max-width: 760px; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.p { margin: 0; font-size: 16px; line-height: 1.85; color: var(--muted); }
.p-sm { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--muted); }
.p-xs { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
.note { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.note-sm { font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.note-faint { font-size: 14.5px; line-height: 1.9; color: var(--faint); }
.caption { font-size: 14px; line-height: 1.8; color: var(--faint); }
.label { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.label-sm { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--faint); }
.text-center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid rgba(255,255,255,0);
}
.site-header .bar { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-header .brand { display: flex; align-items: center; flex-shrink: 0; }
.site-header .brand img { height: 30px; width: auto; display: block; mix-blend-mode: screen; filter: invert(1) grayscale(1) brightness(1.55); transition: filter .25s ease; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.82); }
.site-nav a { color: inherit; padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color .2s ease; }
.site-nav a:hover { color: #fff; }
.site-nav a.is-active { font-weight: 700; color: #fff; border-bottom-color: currentColor; }
.site-header .actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-header .cta { padding: 11px 22px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: -.01em; transition: background .25s ease, color .25s ease; }
.site-header .cta:hover { background: var(--light-hover); color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.32); background: transparent; color: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.mobile-menu { background: var(--dark); border-top: 1px solid rgba(255,255,255,.12); padding: 14px 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a { padding: 13px 4px; color: rgba(255,255,255,.86); font-size: 16px; font-weight: 600; }
.mobile-menu a:hover { color: #fff; }

/* solid state after scrolling */
.site-header.is-solid { background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); }
.site-header.is-solid .brand img { mix-blend-mode: multiply; filter: none; }
.site-header.is-solid .site-nav { color: var(--ink-2); }
.site-header.is-solid .site-nav a:hover { color: var(--ink); }
.site-header.is-solid .site-nav a.is-active { color: var(--ink); }
.site-header.is-solid .cta { background: var(--ink); color: #fff; }
.site-header.is-solid .cta:hover { background: var(--dark-hover); }
.site-header.is-solid .burger { color: var(--ink); border-color: var(--line-3); }

/* ---------- page hero (banner) ---------- */
.hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; background: var(--dark); overflow: hidden; }
.hero.hero-home { min-height: min(92vh, 860px); }
.hero.hero-short { min-height: 380px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,17,22,.86) 0%, rgba(11,17,22,.42) 50%, rgba(11,17,22,.9) 100%); }
.hero-body { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px 64px; display: flex; flex-direction: column; gap: 18px; }
.crumb { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.hero-sub { margin: 0; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.8); }

/* ---------- sub navigation (company) ---------- */
.subnav { border-bottom: 1px solid var(--line); padding: 0 32px; position: sticky; top: 78px; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); z-index: 20; }
.subnav .wrap { display: flex; gap: 26px; overflow-x: auto; font-size: 14.5px; font-weight: 500; padding: 16px 0; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { color: var(--muted); white-space: nowrap; }
.subnav a:hover { color: var(--ink); }

/* ---------- buttons & links ---------- */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-align: center; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-md { padding: 15px 30px; font-size: 15px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--dark-hover); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--light-hover); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); font-weight: 600; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-3); font-weight: 600; }
.btn-outline:hover { background: var(--bg-2); color: var(--ink); }
.btn-self { align-self: flex-start; }
.link-more { align-self: flex-start; font-size: 15px; font-weight: 700; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-more:hover { color: var(--ink-2); }
.link-more.sm { font-size: 14.5px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-3); background: #fff; color: var(--ink); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn.primary { border-color: var(--ink); background: var(--ink); color: #fff; }
.icon-btn.primary:hover { background: var(--dark-hover); }

/* ---------- cards ---------- */
.card-soft { padding: 28px 30px; border-radius: 14px; background: var(--bg-2); display: flex; flex-direction: column; gap: 12px; }
.card-soft.on-white { background: #fff; }
.card-soft.on-dark { background: rgba(255,255,255,.06); }
.tile { padding: 34px 32px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 14px; }
.tile-sm { padding: 24px 26px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.tile-md { padding: 30px 32px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 12px; }
.tile .name, .tile-sm .name { font-size: 16px; font-weight: 700; }
.panel-white { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.panel-white .body { padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.step { padding: 24px; background: #fff; border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.step .no { font-size: 13px; font-weight: 700; color: var(--accent); }
.step .name { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.step .goal { font-size: 14.5px; line-height: 1.75; color: var(--muted); }

/* ---------- media ---------- */
.media { width: 100%; object-fit: cover; border-radius: 14px; display: block; }
.media.contain { object-fit: contain; background: var(--bg-2); padding: 20px; }
.media.contain.on-white { background: #fff; padding: 24px; }
.media.r12 { border-radius: 12px; }
.fig { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fig img { width: 100%; object-fit: cover; border-radius: 12px; display: block; }
.fig figcaption { font-size: 14px; color: var(--muted); }
.section-dark .fig figcaption { color: rgba(255,255,255,.62); }
.fig .brand { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--faint); }
.fig .title { font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; }
.fig .title-sm { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.logo-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 36px 28px; align-items: center; justify-items: center; }
.logo-grid img { max-width: 130px; max-height: 38px; width: auto; height: auto; object-fit: contain; display: block; filter: grayscale(1); opacity: .6; transition: filter .25s ease, opacity .25s ease; }
.logo-grid img.lg { max-width: 190px; max-height: 70px; }
.logo-grid img.client { max-width: 120px; max-height: 52px; opacity: .62; }
.logo-grid img.client.wide { max-width: 150px; max-height: 60px; }
.logo-grid img:hover { filter: none; opacity: 1; }

/* ---------- product rows (refractory / eco / rnd) ---------- */
.section-head { display: flex; flex-direction: column; gap: 20px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.section-head.no-line { border-bottom: 0; padding-bottom: 40px; }
.product { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; }
.product:last-child { border-bottom: 0; }
.product-media { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; display: block; }
.product-media.contain { object-fit: contain; background: var(--bg-2); padding: 20px; }
.product-media.placeholder { background: var(--bg-2); display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 14px; }
.product-media.symbol { background: var(--bg-2); display: flex; align-items: center; justify-content: center; padding: 20px; }
.product-media.symbol svg { width: 100%; height: 100%; font-family: inherit; }
.product-body { display: flex; flex-direction: column; gap: 18px; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl thead tr { background: var(--bg-2); }
.tbl th { text-align: left; padding: 12px 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .m { color: var(--muted); }
.tbl .nw { white-space: nowrap; }
.tbl-lg th, .tbl-lg td { padding: 13px 16px; }
.tbl-sm th, .tbl-sm td { padding: 11px 14px; }
.tbl-white { background: #fff; border-radius: 12px; overflow: hidden; }
.tbl-white thead tr { background: var(--bg-3); }
.tbl-white th { border-bottom: 0; }
.tbl-kv { font-size: 15px; }
.tbl-kv td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.tbl-kv td:first-child { width: 150px; background: var(--bg-2); font-weight: 600; color: var(--ink); }
.tbl-kv.on-alt td:first-child { background: var(--bg-3); }
.tbl-kv.compact td { padding: 12px 14px; border-bottom-color: var(--line-2); color: var(--muted); }
.tbl-kv.compact td:first-child { width: 120px; color: var(--ink); }
.tbl-kv.k110 td:first-child { width: 110px; }
.tbl-kv.k100 td:first-child { width: 100px; }
.tbl-kv.k180 td:first-child { width: 180px; }
.tbl-kv tbody tr:last-child td { border-bottom: 0; }

/* ---------- list rows ---------- */
.rows { display: flex; flex-direction: column; }
.row-2 { display: grid; grid-template-columns: 118px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.section-dark .row-2 { border-bottom-color: rgba(255,255,255,.12); }
.row-2 .k { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.row-2 .v { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.section-dark .row-2 .v { color: rgba(255,255,255,.74); }
.row-2.w120 { grid-template-columns: 120px 1fr; padding: 17px 0; }
.row-2.w150 { grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0; }
.row-2.w150 .v { font-size: 15px; }
.contact-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row .dept { display: flex; flex-direction: column; gap: 5px; }
.contact-row .dept b { font-size: 15.5px; font-weight: 700; }
.contact-row .dept a, .contact-row .dept span { font-size: 14.5px; }
.contact-row .dept span { color: var(--faint); }
.contact-row .desc { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.project-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.project-row .meta { display: flex; flex-direction: column; gap: 8px; }
.project-row .dept { font-size: 14px; font-weight: 700; color: #fff; }
.project-row .prog { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.54); }
.project-row .period { font-size: 13.5px; color: var(--accent); font-weight: 600; }
.project-row .title { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.82); }

/* ---------- CTA card ---------- */
.cta-card { border-radius: 20px; background: var(--dark); color: #fff; padding: 72px 64px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 56px; align-items: center; }
.cta-card.xl { padding: 82px 72px; gap: 64px; }
.cta-card.light { background: var(--bg-2); color: var(--ink); }
.cta-card .lead { color: rgba(255,255,255,.72); max-width: 520px; }
.cta-card.light .lead { color: var(--muted); }
.cta-card .aside { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-card .contact { font-size: 15px; color: rgba(255,255,255,.66); }
.cta-card.light .contact { color: var(--muted); }
.cta-card .contact b { color: #fff; font-weight: 600; }
.cta-card a.inline { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
.cta-card.light a.inline { color: var(--link); border-bottom: 0; }

/* ---------- home specifics ---------- */
.home-hero-body { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px 96px; }
.home-hero-inner { max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.home-hero .hero-img { opacity: .62; }
.home-hero .hero-shade { background: linear-gradient(180deg, rgba(11,17,22,.78) 0%, rgba(11,17,22,.32) 42%, rgba(11,17,22,.92) 100%); }
.home-h1 { margin: 0; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; color: #fff; text-wrap: balance; }
.home-hero p { margin: 0; max-width: 600px; font-size: 17.5px; line-height: 1.75; color: rgba(255,255,255,.78); }
.home-hero .eyebrow { color: rgba(255,255,255,.72); letter-spacing: .06em; text-transform: uppercase; }
.tabs { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 14px 22px; border: none; background: transparent; cursor: pointer; font-size: 15.5px; font-weight: 500; letter-spacing: -.02em; color: var(--faint); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s ease; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { font-weight: 700; color: var(--ink); border-bottom-color: var(--ink); }
.tab-panels { margin-top: 44px; }
.tab-panel[hidden] { display: none; }
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 52px 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 28px; }
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat .num { font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--muted); font-weight: 500; }
.track { max-width: 1280px; margin: 0 auto; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.track::-webkit-scrollbar { display: none; }
.ba-card { flex: 0 0 340px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; }
.ba-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 14px; display: block; }
.ba-card h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; font-weight: 700; }
.ba-card p { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--muted); }

/* ---------- org chart ---------- */
.org-root { padding: 22px 28px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.02em; text-align: center; }

/* ---------- forms ---------- */
.form { padding: 40px; background: #fff; border-radius: 16px; display: flex; flex-direction: column; gap: 22px; }
.form label { display: flex; flex-direction: column; gap: 9px; }
.form label > span { font-size: 14px; font-weight: 600; }
.form .req { color: var(--accent); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { padding: 13px 14px; border: 1px solid var(--line-3); border-radius: 9px; font-size: 15px; background: #fff; color: var(--ink); }
.form textarea { line-height: 1.7; resize: vertical; }
.form input[type="file"] { padding: 11px 0; font-size: 14.5px; color: var(--muted); }
.form .hint { font-size: 13px; color: var(--faint); }
.form .consent { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; }
.form .consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--ink); }
.form .consent span { font-size: 14px; line-height: 1.7; color: var(--muted); }
.form-done { padding: 56px 40px; background: #fff; border-radius: 16px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-done .title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.form-done[hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 32px 44px; color: var(--ink); }
.site-footer .top { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.4fr); gap: 56px; align-items: start; }
.site-footer .brand { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.site-footer .info { font-size: 14px; line-height: 1.95; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; }
.site-footer .col .hd { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.site-footer .col a, .site-footer .col span { font-size: 14px; color: var(--muted); }
.site-footer .col a:hover { color: var(--ink); }
.site-footer .bottom { max-width: 1280px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 26px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); }
.site-footer .bottom .links { display: flex; gap: 22px; }
.site-footer .bottom a { color: inherit; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 900px) {
  [data-2col], .grid, .product, .cta-card, .site-footer .top { grid-template-columns: minmax(0,1fr) !important; gap: 36px !important; }
  [data-3col], .site-footer .cols { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  [data-pad], .section, .section-lg, .hero-body, .home-hero-body, .subnav { padding-left: 20px !important; padding-right: 20px !important; }
  .home-hero-body { padding-bottom: 64px !important; }
  [data-media] { height: 260px !important; }
  [data-rnd-media] { height: 320px !important; }
  .product-media { height: 260px; }
  .tbl-wrap { display: block; overflow-x: auto; }
  .cta-card, .cta-card.xl { padding: 48px 28px !important; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 24px; }
  .project-row, .contact-row { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .form { padding: 28px 22px; }
  .site-header .bar { padding: 0 20px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: minmax(0,1fr); }
  .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .ba-card { flex-basis: 78vw; }
  [data-3col] { grid-template-columns: minmax(0,1fr) !important; }
  .row-2, .row-2.w120, .row-2.w150 { grid-template-columns: minmax(0,1fr); gap: 6px; }
}
