@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600&display=swap');

/* ============================================================
   JPARK — Design tokens
   ============================================================ */
:root {
  /* Brand */
  --navy-900: #05142c;
  --navy-800: #08203f;
  --navy-700: #0c2c56;
  --navy-600: #123a6d;
  --navy-500: #1e3e6b;
  --brand-500: #4875b7;

  /* Accent */
  --accent: #2e7bff;
  --accent-600: #1a63e0;
  --accent-soft: rgba(46, 123, 255, .1);
  --cyan: #24d3ee;

  /* Neutrals */
  --ink: #0d1726;
  --ink-70: #4a586c;
  --ink-45: #7c8798;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --paper: #ffffff;
  --paper-2: #f5f8fc;
  --paper-3: #eaf0f8;

  /* Effects */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(8, 32, 63, .05), 0 8px 24px -12px rgba(8, 32, 63, .12);
  --sh-2: 0 24px 60px -28px rgba(8, 32, 63, .35);
  --max: 1200px;
  --gut: 24px;

  --ff-display: "Anuphan", "IBM Plex Sans Thai", system-ui, sans-serif;
  --ff-body: "IBM Plex Sans Thai", "Anuphan", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding-inline: var(--gut); }

/* Language toggle */
html[data-lang="en"] .l-th { display: none !important; }
html[data-lang="th"] .l-en { display: none !important; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease;
}
.hdr.is-stuck { box-shadow: 0 6px 24px -16px rgba(8, 32, 63, .4); }
.hdr-row { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { height: 34px; width: auto; flex: none; }
.brand-wm { height: 27px; width: auto; flex: none; }
.flock { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.flock .brand-mark { height: 38px; }
.flock .brand-wm { height: 30px; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  display: block; font-size: 14px; font-weight: 500; color: var(--navy-700);
  padding: 8px 11px; border-radius: 8px; white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}
.nav a:hover { background: var(--paper-2); color: var(--accent); }
.nav a.on { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

.hdr-side { display: flex; align-items: center; gap: 10px; flex: none; }

.lang { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button {
  font: 600 11.5px/1 var(--ff-body); letter-spacing: .06em;
  border: 0; background: none; color: var(--ink-45);
  padding: 7px 11px; border-radius: 999px; cursor: pointer; transition: all .16s ease;
}
.lang button.on { background: var(--navy-700); color: #fff; }

.burger {
  display: none; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.burger i { display: block; width: 17px; height: 1.8px; background: var(--navy-700); position: relative; transition: .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.8px; background: inherit; transition: .2s; }
.burger i::before { top: -5.5px; }
.burger i::after { top: 5.5px; }
.burger.on i { background: transparent; }
.burger.on i::before { top: 0; transform: rotate(45deg); background: var(--navy-700); }
.burger.on i::after { top: 0; transform: rotate(-45deg); background: var(--navy-700); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14.5px/1 var(--ff-body);
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-p { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -12px rgba(46, 123, 255, .8); }
.btn-p:hover { background: var(--accent-600); }
.btn-g { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-g:hover { background: rgba(255, 255, 255, .2); }
.btn-o { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn-o:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   Sections
   ============================================================ */
.sec { padding: 88px 0; }
.sec-sm { padding: 60px 0; }
.sec-tint { background: var(--paper-2); }
.sec-dark { background: var(--navy-900); color: #dce6f4; }
.sec-dark h2, .sec-dark h3 { color: #fff; }

.kick {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.kick::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-dark .kick { color: var(--cyan); }

.head { max-width: 760px; margin-bottom: 48px; }
.head.mid { margin-inline: auto; text-align: center; }
.head.mid .kick { justify-content: center; }
.head h2 { font-size: clamp(27px, 3.4vw, 40px); color: var(--navy-800); }
.sec-dark .head h2 { color: #fff; }
.head p { margin-top: 16px; color: var(--ink-70); font-size: 17px; }
.sec-dark .head p { color: #a9bcd6; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(46, 123, 255, .34), transparent 70%),
    linear-gradient(105deg, rgba(5, 20, 44, .96) 0%, rgba(5, 20, 44, .84) 44%, rgba(5, 20, 44, .5) 100%);
}
.hero-in { position: relative; padding-block: 118px 0; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 62px); line-height: 1.1; max-width: 17ch;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-lead { margin-top: 22px; max-width: 56ch; font-size: 17.5px; color: #b9cbe4; }
.hero h1.hero-lead { margin-top: 0; max-width: 50ch; font-weight: 500;
  font-size: clamp(21px, 2.5vw, 29px); line-height: 1.45; letter-spacing: 0; color: #d3e2f6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #93b4e4; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 7px 16px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(36, 211, 238, .22); }

/* KPI strip inside hero */
.kpis {
  margin-top: 72px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.kpis > div { padding: 26px 24px 30px; border-right: 1px solid rgba(255, 255, 255, .12); }
.kpis > div:last-child { border-right: 0; }
.kpis > div:first-child { padding-left: 0; }
.kpi-n { font-family: var(--ff-display); font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: #fff; line-height: 1; }
.kpi-n small { font-size: .5em; font-weight: 600; color: var(--cyan); margin-left: 3px; }
.kpi-l { margin-top: 8px; font-size: 13.5px; color: #93aac9; line-height: 1.5; }

/* Page hero (inner pages) */
.phero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.phero-bg { position: absolute; inset: 0; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.phero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 6% 0%, rgba(46, 123, 255, .32), transparent 70%),
    linear-gradient(180deg, rgba(5, 20, 44, .9), rgba(5, 20, 44, .82));
}
.phero-in { position: relative; padding-block: 78px 82px; }
.phero h1 { font-size: clamp(30px, 4.6vw, 50px); max-width: 20ch; letter-spacing: -.02em; }
.phero p { margin-top: 18px; max-width: 60ch; color: #b9cbe4; font-size: 17px; }
.phero h1.phero-lead { max-width: 58ch; font-weight: 500;
  font-size: clamp(20px, 2.3vw, 27px); line-height: 1.45; letter-spacing: 0; color: #d3e2f6; }
.crumb { font-size: 13px; color: #7f9dc6; margin-bottom: 18px; letter-spacing: .04em; }
.crumb a:hover { color: #fff; }

/* ============================================================
   Grids & cards
   ============================================================ */
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.rev > *:first-child { order: 2; }

/* grid children must be allowed to shrink, or wide tables push the page sideways */
.g2 > *, .g3 > *, .g4 > *, .split > *, .stats > *, .spec > * { min-width: 0; }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: #cddcf2; box-shadow: var(--sh-1); transform: translateY(-3px); }
.card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 10px; }
.card p { color: var(--ink-70); font-size: 15px; line-height: 1.7; }

.card-dark {
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.card-dark:hover { border-color: rgba(36, 211, 238, .45); transform: translateY(-3px); }
.card-dark p { color: #9fb4d0; font-size: 15px; }

.ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.ico svg { width: 23px; height: 23px; }
.card-dark .ico { background: rgba(36, 211, 238, .13); color: var(--cyan); }

.pill {
  display: inline-block; font: 700 11.5px/1 var(--ff-body); letter-spacing: .12em;
  padding: 6px 11px; border-radius: 6px; background: var(--accent-soft); color: var(--accent);
  margin-bottom: 16px;
}
.card-dark .pill, .sec-dark .pill { background: rgba(36, 211, 238, .14); color: var(--cyan); }

/* Service card with photo */
.svc { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.svc:hover { box-shadow: var(--sh-2); transform: translateY(-4px); }
.svc-img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-3); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-size: 20px; color: var(--navy-800); margin-bottom: 10px; }
.svc-body p { color: var(--ink-70); font-size: 15px; flex: 1; }
.svc-more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.svc-more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.svc:hover .svc-more svg { transform: translateX(4px); }

/* Stat tiles */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.stats > div { background: var(--paper); padding: 30px 26px; }
.stat-n { font-family: var(--ff-display); font-weight: 700; font-size: 34px; color: var(--navy-800); line-height: 1; }
.stat-n small { font-size: .46em; color: var(--accent); margin-left: 4px; font-weight: 600; }
.stat-l { margin-top: 9px; font-size: 13.5px; color: var(--ink-45); line-height: 1.5; }

/* Feature list */
.flist { list-style: none; display: grid; gap: 14px; }
.flist li { display: flex; gap: 13px; font-size: 15.5px; color: var(--ink-70); line-height: 1.65; }
.flist li b { color: var(--ink); font-weight: 600; }
.flist .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 3px; }
.flist .tick svg { width: 12px; height: 12px; }
.sec-dark .flist li { color: #a9bcd6; }
.sec-dark .flist li b { color: #fff; }
.sec-dark .flist .tick { background: rgba(36, 211, 238, .15); color: var(--cyan); }

/* Numbered steps */
.steps { counter-reset: s; display: grid; gap: 20px; list-style: none; }
.steps li { counter-increment: s; display: flex; gap: 18px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  flex: none; font: 700 14px/38px var(--ff-display); width: 38px; height: 38px; text-align: center;
  border-radius: 10px; background: var(--navy-800); color: #fff;
}
.steps h4 { font-size: 16.5px; color: var(--navy-800); margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--ink-70); }
.sec-dark .steps li::before { background: rgba(36, 211, 238, .16); color: var(--cyan); }
.sec-dark .steps h4 { color: #fff; }
.sec-dark .steps p { color: #9fb4d0; }

/* Timeline */
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(46, 123, 255, .12)); }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--accent);
}
.tl-y { font-family: var(--ff-display); font-weight: 700; font-size: 22px; color: var(--navy-800); }
.tl-item p { margin-top: 6px; color: var(--ink-70); font-size: 15.5px; }

/* Logo wall */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.logos > div {
  position: relative; aspect-ratio: 3/2; overflow: hidden;
  background: var(--navy-800); display: flex; align-items: flex-end; padding: 14px 15px;
}
.logos > div img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.logos > div::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 20, 44, .10) 0%, rgba(5, 20, 44, .45) 48%, rgba(5, 20, 44, .88) 100%);
}
.logos > div.noimg::after {
  background: radial-gradient(160% 120% at 15% 0%, rgba(46, 123, 255, .30), transparent 68%);
}
.logos .nm {
  position: relative; z-index: 1; font-size: 13px; font-weight: 600; color: #fff;
  line-height: 1.35; text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.logos > div:hover img { transform: scale(1.07); }

/* Gallery */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.gal .im { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.gal .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal figure:hover .im img { transform: scale(1.06); }
.gal figcaption { padding: 14px 16px; font-size: 14px; font-weight: 500; color: var(--navy-800); }
.gal figcaption span { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-45); margin-top: 2px; }

/* Phone mockups */
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.phone { text-align: center; }
.phone .scr {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--sh-1);
}
.phone .scr img { width: 100%; }
.phone figcaption, .phone .cap { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--navy-800); }
.sec-dark .phone .scr { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.sec-dark .phone .cap, .sec-dark .phone figcaption { color: #cddcf2; }

/* Media frame */
.frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-3); box-shadow: var(--sh-2); }
.frame img { width: 100%; display: block; }
a.frame { display: block; position: relative; background: #fff; }
a.frame.zoom::after {
  content: "\2922"; position: absolute; right: 10px; bottom: 10px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: rgba(5, 20, 44, .74); color: #fff; border-radius: 8px;
  font-size: 15px; line-height: 1; opacity: 0; transition: opacity .2s ease;
}
a.frame.zoom:hover::after { opacity: 1; }
.sec-dark .frame { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); box-shadow: none; }

/* Project card */
.proj { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.proj + .proj { margin-top: 26px; }
.proj .im { min-height: 340px; background: var(--paper-3); }
.proj .im img { width: 100%; height: 100%; object-fit: cover; }
.proj .bd { padding: 38px; }
.proj .bd h3 { font-size: 24px; color: var(--navy-800); margin-bottom: 6px; }
.proj .bd .sub { font-size: 14.5px; color: var(--ink-45); margin-bottom: 18px; }
.proj .bd p { color: var(--ink-70); font-size: 15.5px; }
.spec { list-style: none; margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.spec li { background: var(--paper-2); padding: 14px 16px; }
.spec b { display: block; font-family: var(--ff-display); font-size: 19px; color: var(--navy-800); }
.spec span { font-size: 12.5px; color: var(--ink-45); }
@media (max-width: 620px) { .spec { grid-template-columns: 1fr; } }

/* Table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 580px; }
table.t th, table.t td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.t th { background: var(--paper-2); font-weight: 600; color: var(--navy-800); font-size: 13.5px; letter-spacing: .02em; white-space: nowrap; }
table.t td { color: var(--ink-70); }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tbody tr:last-child td { border-bottom: 0; }
table.t tbody tr:hover td { background: var(--paper-2); }
table.t tr.sum td { font-weight: 600; color: var(--navy-800); background: var(--paper-2); }

/* Bar meter */
.meter { height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--cyan)); }

/* Quote */
.quote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 26px; margin: 0;
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.45; color: var(--navy-800);
}
.sec-dark .quote { border-color: var(--cyan); color: #fff; }
.quote cite { display: block; margin-top: 14px; font: 500 14px/1.5 var(--ff-body); color: var(--ink-45); font-style: normal; }
.sec-dark .quote cite { color: #93aac9; }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; border-radius: var(--r-lg); padding: 54px 48px; }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 88% 110%, rgba(36, 211, 238, .26), transparent 70%),
    radial-gradient(500px 260px at 8% -10%, rgba(46, 123, 255, .32), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); max-width: 22ch; }
.cta p { margin-top: 14px; color: #a9c1e0; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact cards */
.ccard { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--paper); }
.ccard h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 18px; }
.crow { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.crow:last-child { border-bottom: 0; }
.crow dt { color: var(--ink-45); font-weight: 500; }
.crow dd { margin: 0; color: var(--ink); }
.crow a { color: var(--accent); font-weight: 500; }
.crow a:hover { text-decoration: underline; }

/* Map embed */
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--paper-3); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.ftr { background: var(--navy-900); color: #8fa6c4; padding: 68px 0 28px; font-size: 14.5px; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr h4 {
  font-family: var(--ff-body); font-size: 12px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: #6c87ab; margin-bottom: 16px;
}
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr a:hover { color: #fff; }
.ftr .fbrand svg { height: 42px; margin-bottom: 16px; }
.ftr .fbrand p { max-width: 34ch; line-height: 1.7; }
.ftr-btm {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; color: #6c87ab;
}
.ftr-btm .lset { display: flex; gap: 20px; }

/* ============================================================
   Reveal animation
   ============================================================ */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,.8,.3,1), transform .6s cubic-bezier(.22,.8,.3,1); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1120px) {
  .nav a { font-size: 13.2px; padding: 8px 8px; }
  .split { gap: 36px; }
}
@media (max-width: 1000px) {
  .hdr-row { height: 66px; }
  .burger { display: flex; margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(8, 32, 63, .4);
    padding: 12px var(--gut) 20px; display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 12px; font-size: 15.5px; }
  .hdr-side { order: 3; }
  .hdr-side .btn { display: none; }

  .g3, .g4, .stats, .phones, .logos { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.rev > *:first-child { order: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-left: 0; }
  .proj { grid-template-columns: 1fr; }
  .proj .im { min-height: 240px; }
  .ftr-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  :root { --gut: 18px; }
  .brand-mark { height: 30px; }
  .brand-wm { height: 23px; }
  .sec { padding: 62px 0; }
  .g2, .g3, .g4, .stats, .gal, .spec { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .phones { grid-template-columns: repeat(2, 1fr); }
  .hero-in { padding-top: 76px; }
  .kpis { margin-top: 48px; }
  .cta { padding: 38px 24px; }
  .proj .bd { padding: 26px 22px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .crow { grid-template-columns: 1fr; gap: 2px; }
  .tl { padding-left: 28px; }
  .tl-item::before { left: -28px; }
}
