/* ==========================================================================
   JKTECH — Construction Hoists & Mast Climbing Work Platforms
   Global stylesheet
   ========================================================================== */

:root {
  --c-ink: #10202f;
  --c-ink-2: #1b2e42;
  --c-brand: #0b4e8e;
  --c-brand-dark: #073763;
  --c-brand-light: #e8f0f8;
  --c-accent: #e4551f;
  --c-accent-dark: #c4440f;
  --c-amber: #f5a623;

  --c-bg: #ffffff;
  --c-bg-soft: #f4f7fa;
  --c-bg-mute: #eaeff5;
  --c-line: #dbe3ec;
  --c-text: #24313f;
  --c-muted: #5f7284;
  --c-inverse-text: #dbe6f2;

  --container: 1200px;
  --radius: 4px;
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 47, 0.06), 0 1px 3px rgba(16, 32, 47, 0.08);
  --shadow-md: 0 6px 20px rgba(16, 32, 47, 0.10);
  --shadow-lg: 0 16px 44px rgba(16, 32, 47, 0.16);

  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-head: "Segoe UI Semibold", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.5rem 0; }

::selection { background: var(--c-accent); color: #fff; }

/* ------------------------------------------------------------ Utilities -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--mute { background: var(--c-bg-mute); }
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--c-ink);
  color: var(--c-inverse-text);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: #b9c8d8; }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--c-amber); }

.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--c-muted); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .sec-head p { color: #a9bccd; }

.lead { font-size: 1.12rem; color: var(--c-muted); }

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.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;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
    transform .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-accent-dark); color: #fff; }

.btn--brand { background: var(--c-brand); color: #fff; }
.btn--brand:hover { background: var(--c-brand-dark); color: #fff; }

.btn--outline { border-color: var(--c-brand); color: var(--c-brand); background: transparent; }
.btn--outline:hover { background: var(--c-brand); color: #fff; }

.btn--light { background: rgba(255, 255, 255, 0.94); color: var(--c-ink); }
.btn--light:hover { background: #fff; color: var(--c-accent); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--c-accent);
}
.text-link:hover { color: var(--c-accent-dark); gap: 12px; }
.text-link svg { width: 14px; height: 14px; transition: transform .18s ease; }

/* ----------------------------------------------------------------- Header */
.topbar {
  background: var(--c-brand-dark);
  color: #c3d5e7;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar a { color: #dce9f6; }
.topbar a:hover { color: #fff; }
.topbar__items { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 13px; height: 13px; opacity: .8; flex: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-family: var(--font-head);
  font-size: 1.42rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}
.logo__tag {
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--c-amber);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: #d7e3ef;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
  position: relative;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.nav__caret { width: 9px; height: 9px; opacity: .7; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 288px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--c-text);
  font-size: 0.9rem;
}
.dropdown a span { display: block; font-size: 0.78rem; color: var(--c-muted); font-weight: 400; }
.dropdown a:hover { background: var(--c-bg-soft); color: var(--c-brand); }

.header__cta { display: inline-flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ------------------------------------------------------------- Page hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--c-ink);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 22, 34, 0.94) 0%, rgba(9, 22, 34, 0.78) 42%,
    rgba(9, 22, 34, 0.34) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 92px 0; max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: 20px; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.hero p {
  font-size: 1.1rem;
  color: #cbd9e7;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-amber);
  margin-bottom: 22px;
}
.hero__kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--c-accent);
}

.hero-strip {
  background: var(--c-brand);
  color: #fff;
  padding: 26px 0;
}
.hero-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.hero-strip__item { display: flex; gap: 14px; align-items: flex-start; }
.hero-strip__item svg { width: 26px; height: 26px; flex: none; color: #9fc6ea; }
.hero-strip__item strong { display: block; font-size: 0.95rem; }
.hero-strip__item span { font-size: 0.84rem; color: #bcd6ee; }

/* Page banner for sub pages */
.page-hero {
  position: relative;
  background: var(--c-ink);
  color: #fff;
  padding: 76px 0 68px;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 22, 34, .96), rgba(9, 22, 34, .72));
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #bfd0e0; max-width: 720px; font-size: 1.05rem; margin-bottom: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: #93a9bd;
  margin-bottom: 18px;
}
.breadcrumb a { color: #b9cde0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { opacity: .55; }

/* ------------------------------------------------------------------ Grid */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 48px; }
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }

/* ------------------------------------------------------------------ Cards */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c8d5e3; }

.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-mute); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(16, 32, 47, 0.86);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  backdrop-filter: blur(2px);
}
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin-bottom: 0; font-size: 1.18rem; }
.card__body p { color: var(--c-muted); font-size: 0.93rem; margin-bottom: 0; }
.card__body .text-link { margin-top: auto; padding-top: 8px; }

.card--plain { border: 0; background: transparent; }
.card--plain:hover { transform: none; box-shadow: none; }
.card--plain .card__media { border-radius: var(--radius-lg); }

.card--flat { box-shadow: none; }
.card--flat .card__media { aspect-ratio: 4 / 3; }

/* Icon card */
.icon-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
}
.icon-card__icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  background: var(--c-brand-light);
  color: var(--c-brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-card__icon svg { width: 25px; height: 25px; }
.icon-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.icon-card p { font-size: 0.92rem; color: var(--c-muted); margin-bottom: 0; }

.section--dark .icon-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}
.section--dark .icon-card__icon { background: rgba(245, 166, 35, 0.15); color: var(--c-amber); }
.section--dark .icon-card p { color: #a9bccd; }

/* Numbered list card (process steps) */
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-accent);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
}
.step__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-bg-mute);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.91rem; color: var(--c-muted); margin-bottom: 0; }

/* ----------------------------------------------------------------- Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
table.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
  background: #fff;
}
table.specs caption {
  text-align: left;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
}
table.specs th,
table.specs td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
table.specs thead th {
  background: var(--c-ink);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 0;
}
table.specs tbody tr:nth-child(even) { background: #fafcfe; }
table.specs tbody tr:last-child td { border-bottom: 0; }
table.specs td:first-child { font-weight: 600; color: var(--c-ink); }
.spec-note { font-size: 0.83rem; color: var(--c-muted); margin-top: 12px; }

/* Spec definition list */
.deflist { border-top: 1px solid var(--c-line); }
.deflist__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.92rem;
}
.deflist__row dt { font-weight: 600; color: var(--c-ink); margin: 0; }
.deflist__row dd { margin: 0; color: var(--c-muted); }

/* --------------------------------------------------------------- Feature */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  font-size: 0.94rem;
  color: var(--c-text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}
.checklist--light li { color: #c5d5e4; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  color: var(--c-brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__num small { font-size: 0.5em; }
.stat__label { font-size: 0.88rem; color: var(--c-muted); }
.section--dark .stat__num { color: var(--c-amber); }
.section--dark .stat__label { color: #a9bccd; }

/* Percent / equal bars for capability blocks */
.meter { display: grid; gap: 16px; }
.meter__row { display: grid; grid-template-columns: 190px 1fr 62px; align-items: center; gap: 16px; font-size: 0.9rem; }
.meter__track { height: 8px; background: var(--c-bg-mute); border-radius: 99px; overflow: hidden; }
.meter__fill { height: 100%; background: var(--c-brand); border-radius: 99px; }
.meter__val { text-align: right; color: var(--c-muted); font-variant-numeric: tabular-nums; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-mute);
  aspect-ratio: 4 / 3;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 16px 12px;
  background: linear-gradient(transparent, rgba(9, 22, 34, 0.86));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 500;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* ---------------------------------------------------------------- Accordion */
.faq { border-top: 1px solid var(--c-line); }
.faq details {
  border-bottom: 1px solid var(--c-line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  padding: 18px 40px 18px 0;
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
  position: relative;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 40px 20px 0; color: var(--c-muted); font-size: 0.94rem; }

/* ------------------------------------------------------------------- CTA */
.cta-band {
  position: relative;
  background: var(--c-brand);
  color: #fff;
  padding: 62px 0;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { color: #cfe1f2; margin-bottom: 0; max-width: 620px; }

/* ------------------------------------------------------------------ Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--c-ink); }
.field label .req { color: var(--c-accent); }
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 0.94rem;
  color: var(--c-text);
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(11, 78, 142, 0.12);
}
.field__hint { font-size: 0.78rem; color: var(--c-muted); }
.form-note { font-size: 0.82rem; color: var(--c-muted); margin-top: 16px; }
.form-msg {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #eef7f0;
  border: 1px solid #cbe6d3;
  color: #1d6b3a;
  font-size: 0.9rem;
}
.form-msg.is-visible { display: block; }

/* Contact info list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; margin: 0; }
.contact-list svg { width: 20px; height: 20px; color: var(--c-accent); flex: none; margin-top: 3px; }
.contact-list strong { display: block; color: var(--c-ink); font-size: 0.95rem; }
.contact-list span { font-size: 0.92rem; color: var(--c-muted); }
.contact-list a { color: var(--c-muted); }
.contact-list a:hover { color: var(--c-brand); }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--c-ink); color: #a9bccd; padding: 62px 0 0; font-size: 0.9rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 46px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer a { color: #a9bccd; }
.site-footer a:hover { color: #fff; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__links li { margin: 0; }
.footer__about p { color: #93a9bd; margin: 18px 0 0; max-width: 330px; font-size: 0.88rem; }
.footer__logo .logo__name { font-size: 1.3rem; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: #8296a8;
}
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------------------- Back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .22s ease;
  z-index: 70;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-accent); }
.to-top svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ Animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* If scripting is unavailable the observer never runs — keep content visible */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--sidebar { grid-template-columns: 1fr; gap: 40px; }

  /* Mobile nav panel */
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-ink-2);
    padding: 12px 24px 26px;
    gap: 2px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open .nav__link {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    font-size: 1rem;
    justify-content: space-between;
  }
  .nav.is-open .nav__link.is-active::after { display: none; }
  .nav.is-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 0 10px;
    min-width: 0;
  }
  .nav.is-open .dropdown a { color: #b9cde0; }
  .nav.is-open .dropdown a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
  .has-dropdown { position: static; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .deflist__row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 720px) {
  .section { padding: 58px 0; }
  .section--tight { padding: 44px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .header__cta .btn { display: none; }
  .topbar__items { gap: 14px; }
  .topbar__item--hide { display: none; }
  .hero { min-height: 520px; }
  .hero__inner { padding: 68px 0; }
  .page-hero { padding: 54px 0 48px; }
  .form-card { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .meter__row { grid-template-columns: 1fr; gap: 6px; }
  .meter__val { text-align: left; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .logo__tag { display: none; }
}
