:root {
  --ink: #102033;
  --muted: #5c6d80;
  --line: #d7e3ee;
  --bg: #f3f7fb;
  --card: #fff;
  --deep: #0c2f55;
  --deep-2: #16467a;
  --teal: #1c8fd6;
  --gold: #e85d2a;
  --soft: #f7fbff;
  --shadow: 0 18px 50px rgba(12, 47, 85, 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: Manrope, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; }
.skip:focus { top: 12px; z-index: 50; }

.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(238, 244, 245, 0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(213, 227, 231, 0.9);
}
.top-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo { width: 64px; height: 38px; object-fit: contain; }
.mark {
  width: 42px; height: 42px; border-radius: 13px; background: var(--deep);
  display: grid; place-items: center; color: #d8fbff; font-weight: 800;
}
.brand b { display: block; font-size: 14px; letter-spacing: 0.04em; }
.brand span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 14px; color: #3e555c;
  padding: 8px 10px; border-radius: 999px;
}
.nav a[aria-current="page"] { background: var(--deep); color: #fff; }
.langs { display: flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.langs button {
  border: 0; background: transparent; color: var(--muted); border-radius: 999px;
  padding: 8px 12px; cursor: pointer; font-weight: 700; font-size: 14px;
}
.langs button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 8px 12px; font-weight: 800; cursor: pointer;
}

.hero { padding: 36px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--teal);
  font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; margin: 0 0 12px;
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: block; }
.btn.accent { background: var(--gold); color: #fff; }
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.line { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 16px; border-top: 4px solid var(--teal); }
.line:nth-child(3n) { border-top-color: var(--gold); }
.line h3 { margin: 0 0 8px; font-size: 18px; }
.line p { margin: 0; color: #24384c; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 0.96; letter-spacing: -0.045em; margin: 0 0 14px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.04em; margin: 0 0 8px; }
h3 { letter-spacing: -0.03em; }
.lead { font-size: 19px; max-width: 680px; margin: 0 0 18px; }
.sub { color: var(--muted); margin: 0 0 18px; max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 999px; padding: 12px 18px; font-weight: 800;
  border: 1px solid transparent; min-height: 48px;
}
.btn.primary { background: var(--deep); color: #fff; }
.btn.ghost { background: #fff; border-color: var(--line); }

.passport {
  background: linear-gradient(180deg, var(--deep), var(--deep-2)); color: #e7f6f7;
  border-radius: 28px; padding: 22px; box-shadow: var(--shadow);
}
.passport .label { color: #9fd7dc; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.inn { font-size: 34px; font-weight: 800; letter-spacing: 0.04em; margin: 6px 0 14px; }
.passport dl { margin: 0; display: grid; gap: 10px; }
.passport div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.passport dt { color: #9fd7dc; font-size: 13px; }
.passport dd { margin: 0; font-weight: 700; }
.copy { margin-top: 16px; width: 100%; border: 0; border-radius: 14px; padding: 12px; background: #fff; color: var(--deep); font-weight: 800; cursor: pointer; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 8px; }
.stat, .service, .person, .project, .panel {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
}
.stat { padding: 16px; }
.stat b { display: block; font-size: 28px; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 14px; }
section { padding: 28px 0; }
.services, .gallery, .people { display: grid; gap: 12px; }
.services { grid-template-columns: repeat(3, 1fr); }
.gallery, .people { grid-template-columns: repeat(2, 1fr); }
.people { grid-template-columns: repeat(3, 1fr); }
.service, .person { padding: 18px; }
.service .n, .role { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.service h3, .person h3 { margin: 8px 0; }
.service p, .person p { margin: 0; }
.shot { width: 100%; height: 210px; object-fit: cover; border-radius: 16px; margin: -6px 0 12px; background: #d7e6ea; }
.page-hero { padding: 28px 0 0; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.search { flex: 1; min-width: 220px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 16px; outline: none; font-size: 16px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: 700; color: #3e555c; }
.filters button[aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.projects { display: grid; gap: 14px; }
.project { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; }
.photo { min-height: 200px; background: #d7e6ea center/cover no-repeat; position: relative; }
.photo.plain {
  background: linear-gradient(160deg, rgba(7,38,44,.08), rgba(12,116,128,.18)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(7,38,44,.05) 18px, rgba(7,38,44,.05) 19px);
}
.photo span, .shot-note {
  position: absolute; left: 12px; bottom: 12px; background: rgba(7,38,44,.82); color: #fff;
  border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800;
}
.project .body { padding: 18px 20px; }
.where { color: var(--teal); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.project h3 { margin: 6px 0 8px; font-size: 24px; }
.maplink { font-weight: 800; color: var(--teal); }
.credit, .fine { color: var(--muted); font-size: 13px; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: 18px; padding: 22px; }

.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel { padding: 8px 18px; }
.panel div, .panel li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.panel div:last-child, .panel li:last-child { border-bottom: 0; }
.panel span { color: var(--muted); font-weight: 600; text-align: right; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.note { margin-top: 12px; background: #fff8ee; border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0; padding: 14px 16px; }
.facts { width: 100%; border-collapse: collapse; background: #fff; border-radius: 22px; overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 32%; color: var(--muted); font-weight: 700; background: var(--soft); }
.phone { font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: -0.03em; }

.dock {
  display: none; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 40; background: var(--deep); color: #fff; text-decoration: none; border-radius: 18px;
  padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 2px;
  box-shadow: 0 12px 30px rgba(7, 38, 44, 0.28);
}
.dock span { color: #9fd7dc; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.dock strong { font-size: 22px; white-space: nowrap; }
footer { background: var(--deep); color: #c5dde1; padding: 28px 0 40px; margin-top: 10px; }
footer strong { color: #fff; }
footer a { color: #fff; }

@media (max-width: 980px) {
  .hero-grid, .services, .gallery, .people, .scale, .stats, .lines { grid-template-columns: 1fr 1fr; }
  .people, .hero-grid, .scale { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 14px;
    flex-direction: column; align-items: stretch;
  }
  .nav.open { display: flex; }
  .top-inner { flex-wrap: wrap; min-height: 0; padding: 10px 0; }
  .langs { width: 100%; }
  .langs button { flex: 1; }
  .brand span { display: none; }
  .services, .gallery, .stats, .project, .lines { grid-template-columns: 1fr; }
  .logo { width: 54px; height: 32px; }
  .actions { display: grid; }
  .btn, .copy { width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; }
  .filters button { flex: none; }
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; width: auto; }
  .facts th { padding-bottom: 0; }
  .passport div { grid-template-columns: 1fr; gap: 2px; }
  .dock { display: flex; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  h1 { font-size: 38px; }
}
