/* =========================================================
   广源防水加固 · 方案 B「工程蓝」
   白底 / 藏青 / 工程红，偏集团公信力风格
   ========================================================= */

:root {
  --navy: #0b2239;
  --navy-2: #12314f;
  --navy-3: #1d4468;
  --red: #b4232a;
  --red-dark: #8f1a20;
  --ink: #172433;
  --muted: #5a6b7d;
  --line: #e0e6ec;
  --line-dark: #cdd6df;
  --paper: #f5f7f9;
  --white: #ffffff;
  --wrap: 1200px;
  --shadow: 0 18px 44px rgba(11, 34, 57, 0.12);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

section[id], [id="history"], [id="certs"], [id="techniques"] { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

.wrap {
  width: min(var(--wrap), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
}
.skip-link:focus { left: 0; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar__meta { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, 0.88); }
.topbar a:hover { color: #fff; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(11, 34, 57, 0.09); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 82px;
}

.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}
.brand__text strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.brand__text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 15px;
}
.nav a {
  position: relative;
  padding: 6px 0;
  color: #2b3a4a;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  background: #fff;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}
.btn svg { flex: 0 0 auto; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost {
  border-color: var(--line-dark);
  color: var(--navy);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--navy); background: #fff; }
.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover { background: #eef2f6; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #08192a;
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform: scale(1.012);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 19, 32, 0.95) 0%, rgba(6, 19, 32, 0.88) 30%, rgba(6, 19, 32, 0.6) 58%, rgba(6, 19, 32, 0.32) 100%),
    linear-gradient(180deg, rgba(6, 19, 32, 0.5) 0%, rgba(6, 19, 32, 0) 36%, rgba(6, 19, 32, 0.62) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
  min-height: clamp(540px, 72vh, 730px);
  padding: 96px 0 70px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.66); }
.hero h1 {
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: #fff;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 34px rgba(3, 12, 22, 0.35);
}
.hero h1 em {
  font-style: normal;
  color: #e2534a;
  position: relative;
  white-space: nowrap;
}
.hero__lead {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.hero__actions .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.74);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: #e2534a; }

.hero__badge {
  display: flex;
  gap: 26px;
  padding: 20px 26px;
  background: rgba(8, 25, 42, 0.55);
  border-left: 4px solid var(--red);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__badge div { min-width: 78px; }
.hero__badge strong {
  display: block;
  font-size: 26px;
  color: #fff;
  line-height: 1.1;
}
.hero__badge span { font-size: 12px; color: rgba(255, 255, 255, 0.66); }

/* ---------- stat band ---------- */
.statband {
  background: #edf2f7;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.statband__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.stat {
  position: relative;
  background: #edf2f7;
  padding: 38px 30px 34px;
}
.stat::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 38px;
  height: 3px;
  background: var(--red);
}
.stat__num {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.stat__num small { font-size: 16px; font-weight: 500; margin-left: 4px; opacity: 0.5; }
.stat p { margin-top: 9px; font-size: 13.5px; color: var(--muted); letter-spacing: 0.05em; }

/* ---------- section ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--paper); }
.section--tight { padding: 72px 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}
.sec-head__title .eyebrow { margin-bottom: 14px; }
.sec-head__title h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-weight: 800;
}
.sec-head__title p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 620px;
  font-size: 15.5px;
}
.sec-head__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 6px;
}
.sec-head__link:hover { color: var(--red); border-color: var(--red); }

/* ---------- services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card__media { position: relative; overflow: hidden; min-height: 240px; }
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.86) contrast(1.03);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__no {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 34, 57, 0.86);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 5px 10px;
}
.service-card__body { padding: 28px 26px; display: flex; flex-direction: column; }
.service-card h3 { font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-card__tags span {
  font-size: 12px;
  color: var(--navy-3);
  background: #eef3f7;
  padding: 3px 9px;
}
.service-card__more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

/* ---------- cases ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.case-card { background: #fff; border: 1px solid var(--line); }
.case-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: saturate(0.85);
}
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 5px 11px;
}
.case-card__body { padding: 20px 22px 24px; }
.case-card__meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.case-card h3 { font-size: 18px; color: var(--navy); line-height: 1.45; margin-bottom: 8px; }
.case-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.why__media { position: relative; }
.why__media img.main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: saturate(0.9);
}
.why__media .mini {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 46%;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.why__list { display: grid; gap: 22px; margin-top: 30px; }
.why__item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.why__icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: var(--red);
}
.why__item h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 5px; }
.why__item p { font-size: 14px; color: var(--muted); }

/* ---------- process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--navy);
}
.process__step { padding: 26px 22px 0 0; position: relative; }
.process__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.process__no {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.process__step h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.process__step p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- certs ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cert:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cert img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #fafbfc;
  border: 1px solid #edf1f4;
}
.cert strong {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
}
.cert span { font-size: 12px; color: var(--muted); margin-top: 5px; letter-spacing: 0.02em; }

/* ---------- news ---------- */
.news-list { border-top: 1px solid var(--line-dark); }
.news-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s ease;
}
.news-row:hover { background: #fff; padding-left: 14px; }
.news-row time {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.news-row h3 { font-size: 16.5px; color: var(--navy); font-weight: 600; }
.news-row p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.news-row svg { color: var(--red); flex: 0 0 auto; }

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(120deg, rgba(11, 34, 57, 0.97), rgba(18, 49, 79, 0.94)),
    url("../img/projects/p05.jpg") center / cover;
  color: #fff;
  padding: 72px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cta__phone small { font-size: 13px; font-weight: 400; opacity: 0.65; display: block; }

/* ---------- footer ---------- */
.footer { background: #081a2c; color: rgba(255, 255, 255, 0.66); font-size: 13.5px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer .brand__mark { background: #fff; color: var(--navy); }
.footer .brand__text strong { color: #fff; }
.footer .brand__text span { color: rgba(255, 255, 255, 0.5); }
.footer__about { margin-top: 18px; max-width: 330px; line-height: 1.9; }
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer li + li { margin-top: 11px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.55); }

/* ---------- page hero ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 54px 0 58px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.25; margin-bottom: 14px; }
.page-hero p { max-width: 640px; color: rgba(255, 255, 255, 0.68); font-size: 15.5px; }
.page-hero__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.page-hero__meta strong { color: #fff; font-size: 20px; margin-right: 6px; }

/* ---------- filters / projects ---------- */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}
.filter {
  border: 1px solid var(--line-dark);
  background: #fff;
  padding: 9px 18px;
  font-size: 13.5px;
  color: #3d4d5e;
  transition: all 0.2s ease;
}
.filter:hover { border-color: var(--navy); }
.filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.project.is-hidden { display: none; }
.project__media { aspect-ratio: 16 / 10; overflow: hidden; }
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.6s ease;
}
.project:hover .project__media img { transform: scale(1.05); }
.project__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.project__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 9px;
}
.project h3 { font-size: 17.5px; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.project p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.project__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.project__tags span {
  font-size: 11.5px;
  color: var(--navy-3);
  background: #eff4f8;
  padding: 3px 8px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.contact-list { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.contact-item { background: #fff; padding: 24px 26px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.contact-item svg { color: var(--red); margin-top: 3px; }
.contact-item dt { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 5px; }
.contact-item dd { font-size: 16px; color: var(--navy); font-weight: 600; line-height: 1.6; }
.contact-item dd small { font-weight: 400; color: var(--muted); font-size: 13px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(11, 34, 57, 0.06);
}
.form-card h2 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: #33465a; font-weight: 600; }
.field label em { color: var(--red); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  background: #fbfcfd;
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); background: #fdf5f5; }
.field-error { font-size: 12px; color: var(--red); display: none; }
.field.has-error .field-error { display: block; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.checkline input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--navy); }
.form-note { margin-top: 14px; font-size: 12px; color: #8695a4; }

/* ---------- map ---------- */
.map-panel {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.map-panel__info { padding: 40px; }
.map-panel__info h2 { font-size: 24px; margin-bottom: 14px; }
.map-panel__info p { color: rgba(255, 255, 255, 0.62); font-size: 14px; line-height: 1.9; }
.map-panel__info .btn { margin-top: 22px; }
.map-panel iframe, .map-panel .map-art {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}
.map-art { background: #10263c; }

/* ---------- misc ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: #fff;
  padding: 13px 22px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
  box-shadow: var(--shadow);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
/* ---------- inner pages: split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
.split h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 18px;
}
.split h3 { font-size: 18px; color: var(--navy); margin: 22px 0 8px; }
.split p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.split p + p { margin-top: 12px; }

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.spec-list > div { background: #fff; padding: 15px 18px; }
.spec-list dt { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.spec-list dd { margin-top: 5px; font-size: 14.5px; color: var(--navy); font-weight: 600; }

.check-list { display: grid; gap: 9px; margin-top: 20px; }
.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--navy-3);
  line-height: 1.7;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

/* ---------- timeline ---------- */
.timeline {
  margin-top: 42px;
  padding-left: 40px;
  border-left: 2px solid var(--line-dark);
}
.tl { position: relative; padding-bottom: 34px; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: "";
  position: absolute;
  left: -47px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 3px solid var(--red);
  border-radius: 50%;
}
.tl__year {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--red);
  font-weight: 700;
}
.tl h3 { font-size: 17px; color: var(--navy); margin: 7px 0 6px; }
.tl p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 720px; }

/* ---------- office / technique grids ---------- */
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.office-grid figure { position: relative; overflow: hidden; background: #e9eef2; }
.office-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 0.5s ease;
}
.office-grid figure:hover img { transform: scale(1.05); }
.office-grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(11, 34, 57, 0.85);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
}

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 22px 20px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tech:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tech__no { font-size: 11.5px; letter-spacing: 0.16em; color: var(--red); font-weight: 700; }
.tech h3 { font-size: 16.5px; color: var(--navy); margin: 8px 0 8px; }
.tech p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-dark); margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq__answer { padding: 0 40px 22px 0; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.faq__answer p + p { margin-top: 10px; }

/* ---------- news accordion ---------- */
.news-acc { border-bottom: 1px solid var(--line); }
.news-acc > summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 24px 4px;
  transition: background 0.2s ease, padding 0.2s ease;
}
.news-acc > summary::-webkit-details-marker { display: none; }
.news-acc > summary:hover { background: #fff; padding-left: 12px; }
.news-acc time { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.news-acc h3 { font-size: 17px; color: var(--navy); font-weight: 600; line-height: 1.55; }
.news-acc em { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-style: normal; }
.news-acc .plus { font-size: 22px; color: var(--red); line-height: 1; }
.news-acc[open] .plus { transform: rotate(45deg); }
.news-body { padding: 0 30px 28px 144px; color: var(--navy-3); font-size: 14.5px; line-height: 1.95; }
.news-body p + p { margin-top: 12px; }
.news-body ul { margin: 10px 0 0 18px; list-style: disc; }
.news-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--red);
  border: 1px solid rgba(180, 35, 42, 0.35);
  padding: 2px 7px;
  margin-right: 10px;
}

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 56px); }
  .nav { gap: 20px; }
  .header__inner { gap: 24px; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__media { min-height: 200px; }
}

@media (max-width: 940px) {
  .topbar__meta span.hide-sm { display: none; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 96px 32px 32px;
    box-shadow: -20px 0 50px rgba(11, 34, 57, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 120;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; z-index: 130; }
  .header__actions .btn { display: none; }
  .header__inner { min-height: 70px; }
  .hero__inner { grid-template-columns: 1fr; align-items: start; gap: 34px; min-height: auto; padding: 72px 0 54px; }
  .hero__badge { width: 100%; justify-content: space-between; }
  .statband__inner { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .case-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; gap: 56px; }
  .why__media .mini { right: 12px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .process__step { padding-bottom: 22px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-panel { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { height: 340px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .news-acc > summary { grid-template-columns: 100px 1fr auto; gap: 16px; }
  .news-body { padding-left: 126px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { font-size: 12px; }
  .topbar__meta { gap: 14px; }
  .header__actions { margin-left: auto; }
  .brand__text strong { font-size: 15.5px; }
  .brand__text span { font-size: 9.5px; letter-spacing: 0.1em; }
  .brand__mark { width: 40px; height: 40px; font-size: 16px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero__lead { font-size: 15px; }
  .hero__badge { gap: 14px; padding: 16px 18px; }
  .hero__badge div { min-width: 0; flex: 1; }
  .hero__badge strong { font-size: 21px; }
  .hero__badge span { font-size: 11px; }
  .stat { padding: 24px 18px; }
  .stat__num { font-size: 28px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 52px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .service-grid, .case-grid, .projects-grid, .cert-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .news-row time { grid-column: 1 / -1; }
  .news-row p { display: none; }
  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 34px; }
  .cta__phone { font-size: 24px; }
  .page-hero { padding: 40px 0 44px; }
  .to-top { right: 16px; bottom: 16px; }
  .spec-list { grid-template-columns: 1fr; }
  .timeline { padding-left: 28px; }
  .tl::before { left: -35px; }
  .tech-grid { grid-template-columns: 1fr; }
  .news-acc > summary { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .news-acc time { grid-column: 1 / -1; }
  .news-acc em { display: none; }
  .news-body { padding: 0 4px 24px; }
  .split__media img { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
