/* ==========================================================================
   ELCO Việt Nam — website styles
   Design tokens and component rules transcribed from "ELCO Website.dc.html".
   ========================================================================== */

:root {
  /* Brand */
  --navy: #14335f;
  --navy-hover: #0d2445;
  --navy-mid: #102a4f;
  --navy-deep: #0b1d38;
  --green: #3f8f26;
  --green-hover: #35771f;
  --green-light: #93cf74;

  /* Text */
  --ink: #101f38;
  --body: #46586c;
  --muted: #5c6a7e;
  --label: #33455c;

  /* Lines */
  --line: #e2e8f0;
  --line-strong: #d6dee9;
  --line-field: #dbe1ea;
  --line-soft: #eceff5;

  /* Surfaces */
  --surface: #ffffff;
  --tint: #f5f8fc;
  --tint-2: #f8fafd;
  --placeholder: #eff3f8;

  /* On dark */
  --on-dark: #96a5ba;
  --on-dark-2: #b7c4d6;
  --on-dark-3: #a4b2c6;
  --on-dark-4: #dee5ee;

  /* Layout */
  --wrap: 1200px;
  --gutter: 32px;

  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Be Vietnam Pro', Helvetica, Arial, sans-serif;

  --shadow-card: 0 14px 34px rgba(16, 31, 56, 0.08);
  --shadow-badge: 0 18px 40px rgba(16, 31, 56, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }

img { max-width: 100%; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Shared placeholder hatch, used wherever the design has no photo yet */
.hatch {
  background-color: var(--placeholder);
  background-image: repeating-linear-gradient(135deg, rgba(20, 51, 95, 0.07) 0 8px, transparent 8px 16px);
}
.hatch-soft {
  background-color: var(--placeholder);
  background-image: repeating-linear-gradient(135deg, rgba(20, 51, 95, 0.06) 0 8px, transparent 8px 16px);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
}
.eyebrow-light { color: var(--green-light); }

.section-title {
  margin-top: 12px;
  font-size: 36px;
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

.block-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.link-more { font-size: 15px; font-weight: 600; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }

.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-light { background: #fff; color: var(--navy-mid); flex-shrink: 0; }
.btn-light:hover { background: var(--on-dark-4); color: var(--navy-mid); }

.btn-sm { padding: 13px 24px; font-size: 15px; }
.btn-xs { padding: 11px 18px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------------- topbar */

.topbar { background: var(--navy-deep); color: var(--on-dark); }
.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.topbar-slogan { margin-left: auto; }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-region {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--label);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--green); }
.nav-link.is-active { font-weight: 700; color: var(--navy); border-bottom-color: var(--navy); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color .15s ease;
}
.nav-cta:hover { background: var(--green-hover); color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 38px;
  padding: 10px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav-toggle span + span { margin-top: 4px; }

/* -------------------------------------------------------------- home hero */

.hero {
  background: linear-gradient(180deg, var(--tint) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 84px var(--gutter) 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.eyebrow-pill span:last-child {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--navy);
  text-transform: uppercase;
}

.hero-title {
  margin-top: 24px;
  font-size: 58px;
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: pretty;
}
.hero-title span { color: var(--navy); }

.hero-lede {
  margin-top: 22px;
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--body);
  max-width: 30em;
  text-wrap: pretty;
}
.hero-actions { margin-top: 32px; }

.hero-media { position: relative; }
.hero-frame {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.hero-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 190px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-badge);
}
.hero-badge-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.hero-badge-label { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ------------------------------------------------------------ media boxes */

.media {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fill the frame's height by default so a placeholder box can never
     collapse to zero. Size modifiers below override it. Width is left to
     the normal block flow so negative-margin bleeds (.solution-media)
     still span the full card. */
  height: 100%;
}
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-slot {
  position: absolute;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* -------------------------------------------------------------- home body */

.section { max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gutter); }
.section-top { padding-bottom: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.card-grid { display: grid; gap: 18px; margin-top: 34px; grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--green); box-shadow: var(--shadow-card); color: inherit; }

.card-media-sm { height: 130px; }
.card-media-md { height: 150px; }
.card-media-lg { height: 170px; }

.card-body { padding: 20px; }
.card-body-lg { padding: 22px; }

.card-title { font-size: 17.5px; font-weight: 700; line-height: 1.3; }
/* Category cards open with the title; product cards lead with the category
   kicker and the design puts 8px between the two. */
.card-kicker + .card-title { margin-top: 8px; }
.card-title-lg { font-size: 19px; font-weight: 700; line-height: 1.3; margin-top: 8px; }
.card-text { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 8px; }
.card-text-body { font-size: 14.5px; color: var(--body); line-height: 1.6; margin-top: 8px; }
.card-count { font-family: var(--mono); font-size: 11px; color: var(--green); margin-top: 14px; }
.card-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
}
.card-more { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-top: 14px; }

/* -------------------------------------------------------- navy solution band */

.band-navy { background: var(--navy-mid); color: #fff; }
.band-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 76px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.band-lede {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--on-dark-2);
  max-width: 32em;
  text-wrap: pretty;
}
.band-cta { margin-top: 28px; padding: 14px 26px; }

.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tile-title { font-size: 15px; font-weight: 600; }
.tile-text { font-size: 13.5px; color: var(--on-dark-3); line-height: 1.5; margin-top: 4px; }

/* ----------------------------------------------------------- stat strips */

.stat-strip { border-bottom: 1px solid var(--line); }
.stat-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-num { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.stat-num-sm { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.stat-num-nowrap { white-space: nowrap; }
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ------------------------------------------------------------- page heros */

.page-hero { background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 52px; padding-bottom: 52px; }

.crumb { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.page-title {
  margin-top: 12px;
  font-size: 44px;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}
.page-title-tight { font-size: 42px; max-width: 24em; line-height: 1.12; text-wrap: initial; }

.page-lede {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  max-width: 46em;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ about */

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.about-title {
  margin-top: 12px;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
.quote-box {
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--navy);
  background: var(--tint);
}
.quote-name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.quote-alt { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--body);
}
.prose p { text-wrap: pretty; }

.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }

.panel { padding: 32px; border: 1px solid var(--line); border-radius: 14px; }
.panel-tint { background: var(--tint); }
.panel-navy { border-color: transparent; background: var(--navy); color: #fff; }
.panel-title { font-size: 22px; font-weight: 700; }
.panel-text { margin-top: 14px; font-size: 16px; line-height: 1.68; color: var(--body); text-wrap: pretty; }

.info-pairs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.55;
}
.info-key { color: var(--muted); }
.info-val { font-weight: 500; }

.field-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.field-card { padding: 18px 20px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); }
.field-title { font-size: 16px; font-weight: 600; }
.field-text { font-size: 14.5px; color: var(--on-dark-4); line-height: 1.6; margin-top: 6px; }

.mission-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
}

.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 20px; }
.value-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.value-title { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.value-text { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 8px; }

/* ----------------------------------------------------------- product list */

.list-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 44px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 90px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.sidebar-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.cat-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.cat-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--label);
  background: transparent;
}
.cat-nav a:hover { background: var(--tint); color: var(--navy); }
.cat-nav a.is-active { font-weight: 600; color: #fff; background: var(--navy); }

.sidebar-cta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.sidebar-cta-title { font-size: 14.5px; font-weight: 700; }
.sidebar-cta-text { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 6px; }
.sidebar-cta .btn { margin-top: 14px; }

.list-count { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.list-empty {
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* --------------------------------------------------------- product detail */

.detail-section { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 80px; }

.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

.detail-figure {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
}
.detail-figure .media-slot { font-size: 12px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery-item .media-slot { font-size: 10px; }

.detail-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
}
.detail-tagline {
  margin-top: 14px;
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--ink);
  font-weight: 500;
  text-wrap: pretty;
}
.detail-prose {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--body);
}
.detail-prose p { text-wrap: pretty; }

.spec-box { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.spec-box-title { font-size: 15px; font-weight: 700; }
.spec-list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
}

.detail-actions { margin-top: 24px; }
.detail-actions .btn { padding: 14px 26px; }

.block { margin-top: 64px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .15s ease;
}
.feature-card:hover { border-color: var(--green); }
.feature-title { font-size: 17px; font-weight: 700; }
.feature-text { font-size: 14.5px; line-height: 1.62; color: var(--body); margin-top: 8px; }

.detail-lower {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.spec-table { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.spec-row:last-child { border-bottom: 0; }
.spec-key { color: var(--muted); font-weight: 500; }
.spec-val { font-weight: 500; color: var(--ink); }
.spec-note { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.55; }

.video-frame {
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-mid);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-placeholder {
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
}
.video-placeholder-tag { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.video-placeholder-text { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 24em; }

.demo-card {
  margin-top: 20px;
  padding: 22px;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.demo-title { font-size: 15.5px; font-weight: 700; }
.demo-text { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.demo-card .btn { margin-top: 14px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.related-card { border-radius: 12px; }
.related-body { padding: 18px; }
.related-title { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.related-text { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 6px; }

/* -------------------------------------------------------------- solutions */

.solutions-hero { background: var(--navy-mid); color: #fff; }
.solutions-hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}
.crumb-light { font-family: var(--mono); font-size: 12px; color: var(--green-light); }
.solutions-title {
  margin-top: 12px;
  font-size: 46px;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 22em;
  line-height: 1.1;
}
.solutions-lede {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--on-dark-2);
  max-width: 40em;
  text-wrap: pretty;
}
.solutions-media {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.solution-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  display: block;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.solution-card:hover { border-color: var(--green); box-shadow: var(--shadow-card); color: inherit; }
.solution-media { height: 190px; margin: -32px -32px 24px; }
.solution-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--green); }
.solution-title { margin-top: 10px; font-size: 23px; font-weight: 700; }
.solution-text { margin-top: 10px; font-size: 15.5px; line-height: 1.66; color: var(--body); }
.solution-more { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 16px; }

.image-pair { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.image-pair-item {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.process-block { margin-top: 72px; }
.process-title { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.process-card { padding: 26px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); }
.process-num { font-family: var(--mono); font-size: 12px; color: var(--green); }
.process-name { font-size: 17px; font-weight: 700; margin-top: 8px; }
.process-text { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 6px; }

/* --------------------------------------------------------------- projects */

.projects-section { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 80px; }
.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.project-stats .stat-num { font-size: 32px; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.project-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.project-card:hover { border-color: var(--green); box-shadow: var(--shadow-card); }
.project-media { height: 240px; }
.project-body { padding: 26px; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
}
.project-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.project-title { margin-top: 10px; font-size: 21px; font-weight: 700; line-height: 1.28; }
.project-place { font-size: 14px; color: var(--muted); margin-top: 4px; }
.project-text { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--body); text-wrap: pretty; }

.visit-cta {
  margin-top: 40px;
  padding: 28px 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--tint-2);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.visit-title { font-size: 17px; font-weight: 700; }
.visit-text { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-top: 6px; }

/* ---------------------------------------------------------------- contact */

.contact-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
}
.contact-lede { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 34em; text-wrap: pretty; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.contact-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
}
.contact-value { margin-top: 8px; font-size: 15px; line-height: 1.6; }

.map-placeholder {
  margin-top: 22px;
  height: 240px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder span { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.form-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  background: var(--tint-2);
  align-self: start;
}
.form-title { font-size: 19px; font-weight: 700; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--label);
}
.field input,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line-field);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--navy); }

.form-submit { margin-top: 4px; padding: 14px 20px; border: none; width: 100%; }

.form-sent { padding: 48px 8px; text-align: center; }
.form-sent-title { font-size: 20px; font-weight: 700; color: var(--navy); }
.form-sent-text { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* -------------------------------------------------------------- cta band */

.cta-band { background: var(--navy); color: #fff; }
.cta-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-copy { flex: 1 1 520px; }
.cta-title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; max-width: 18em; text-wrap: balance; }
.cta-sub { margin-top: 10px; font-size: 16px; color: var(--on-dark-4); }
.cta-band .btn-light { padding: 15px 30px; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--navy-deep); color: var(--on-dark); }
.footer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  height: 42px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
}
.footer-org { font-size: 13.5px; margin-top: 8px; line-height: 1.6; }
.footer-reg { font-size: 12.5px; margin-top: 14px; line-height: 1.6; }
.footer-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
}
.footer-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 13.5px; }
.footer-nav a { color: var(--on-dark); }
.footer-nav a:hover { color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}
.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--gutter) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
  }
  .main-nav.is-open { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }

  .nav-link { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-link.is-active { border-bottom-color: var(--navy); }
  .nav-cta { margin-top: 10px; text-align: center; border-radius: 8px; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-top: 60px; padding-bottom: 60px; }
  .hero-title { font-size: 46px; }
  .hero-badge { left: auto; right: 0; bottom: -20px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }

  .band-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }

  .list-layout { grid-template-columns: 1fr; gap: 28px; }
  .sidebar { position: static; }
  .cat-nav { flex-direction: row; flex-wrap: wrap; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }

  .detail-top { grid-template-columns: 1fr; gap: 36px; }
  .detail-lower { grid-template-columns: 1fr; gap: 44px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .solutions-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .solutions-title { font-size: 38px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  .project-stats { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .section { padding-top: 56px; padding-bottom: 56px; }

  .hero-title { font-size: 38px; }
  .hero-lede { font-size: 17px; }
  .hero-badge {
    position: static;
    width: auto;
    margin-top: 16px;
    box-shadow: none;
  }

  .section-title { font-size: 28px; }
  .page-title, .page-title-tight { font-size: 32px; }
  .about-title { font-size: 27px; }
  .solutions-title { font-size: 31px; }
  .process-title { font-size: 26px; }
  .block-title { font-size: 24px; }
  .cta-title { font-size: 25px; }

  .card-grid, .card-grid-3, .list-grid, .related-grid { grid-template-columns: 1fr; }
  .tile-grid, .pair-grid, .value-grid, .feature-grid,
  .solution-grid, .image-pair, .process-grid,
  .project-stats, .contact-cards { grid-template-columns: 1fr; }

  .pair-grid { margin-top: 40px; }
  .image-pair, .process-block { margin-top: 48px; }
  .block, .detail-lower { margin-top: 48px; }

  .panel, .solution-card, .form-panel { padding: 24px; }
  .solution-media { margin: -24px -24px 20px; height: 170px; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .hero-title { font-size: 32px; }
  .page-title, .page-title-tight { font-size: 27px; }
  .section-title { font-size: 24px; }

  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .visit-cta { padding: 22px; }
  .cta-inner { padding-top: 44px; padding-bottom: 44px; }
  .btn { padding: 13px 22px; font-size: 15px; }
}
