:root {
  --bg: #f2f2f3;
  --surface: #e9e9ea;
  --text: #1d1f20;
  --text-soft: #4c4d4e;
  --muted: #5d5e5f;
  --divider: #d0d0d1;
  --corner: #7d7e7f;
  --accent: #5980a6;
  --accent-600: #597ea3;
  --accent-700: #416180;
  --accent-800: #2c455d;
  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0;
}
p { margin: 0; }
a { color: var(--accent-700); text-underline-offset: 3px; }
a:hover { color: var(--accent-800); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.soft { color: var(--text-soft); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px var(--gutter);
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .brand {
  margin-right: auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.nav-menu { display: contents; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav { gap: 12px 16px; padding-block: 14px; }
  .nav .brand { font-size: 19px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--divider);
    background: transparent;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
  }
  .nav-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s;
  }
  .nav-toggle[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
  .nav-menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    border-top: 1px solid var(--divider);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--divider); }
  .nav > .btn-primary { flex-basis: 100%; min-height: 44px; font-size: 17px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { color: var(--text); background: #e3e3e4; }
.btn-primary, .nav .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-primary:hover, .nav .btn-primary:hover { background: var(--accent-600); color: var(--bg); }
.btn-ghost { border-color: transparent; color: var(--accent); padding-inline: 4px; }
.btn-ghost:hover { color: var(--accent); background: #e0e6ec; }
.btn-lg { min-height: 44px; }
.btn-block { width: 100%; min-height: 44px; margin-top: 20px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.hero { padding: 72px 0 64px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: .01em;
  margin-left: -.052em;
}
.hero h1 span { display: block; }
.hero .subtitle {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--accent-700);
  margin-top: 24px;
}
.hero .lead { margin-top: 24px; max-width: 56ch; }
.hero .note { font-size: 14px; margin-top: 20px; }

.page-hero { padding: 64px 0 56px; }
.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: .01em;
  margin-left: -.052em;
  max-width: 22ch;
}
.page-hero .kicker { margin-bottom: 16px; }
.page-hero .lead { margin-top: 28px; max-width: 58ch; }

.lead, .text { font-size: 16px; line-height: 1.6; }
.text + .text { margin-top: 24px; }

.section { padding: 24px 0 72px; }
.section-page { padding: 8px 0 72px; }
.section-last { padding-bottom: 80px; }

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 12px;
}
.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.rule { height: 1px; border: 0; margin: 0 0 40px; background: var(--divider); }
.rule-sm { margin-bottom: 24px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 5vw, 72px);
}
.split h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; }
.split .text-intro { margin-top: 24px; max-width: 46ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

.blueprint { position: relative; border: 1px solid var(--divider); }
.blueprint::before {
  content: "";
  position: absolute;
  inset: -6px;
  pointer-events: none;
  --l: linear-gradient(var(--corner), var(--corner));
  background:
    var(--l) left 5px top 0 / 1px 11px no-repeat,
    var(--l) left 0 top 5px / 11px 1px no-repeat,
    var(--l) right 5px top 0 / 1px 11px no-repeat,
    var(--l) right 0 top 5px / 11px 1px no-repeat,
    var(--l) left 5px bottom 0 / 1px 11px no-repeat,
    var(--l) left 0 bottom 5px / 11px 1px no-repeat,
    var(--l) right 5px bottom 0 / 1px 11px no-repeat,
    var(--l) right 0 bottom 5px / 11px 1px no-repeat;
}

.card { display: block; padding: 24px; color: inherit; text-decoration: none; }
a.card:hover { color: inherit; border-color: var(--corner); }
.card h2 { font-size: 23px; margin-top: 14px; }
.card h3 { font-size: 22px; }
.card p { font-size: 15px; line-height: 1.6; margin-top: 14px; color: var(--text-soft); }
.card .num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent-700); }
.card .more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-700);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { font-size: 11px; letter-spacing: .02em; padding: 3px 10px; border: 1px solid var(--accent); color: var(--accent); }

.panel-head { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--divider); }
.panel-head span {
  padding: 12px 24px;
  font-size: 13px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.panel-head span:first-child { flex: 1; min-width: 16ch; }
.panel-head span + span { border-left: 1px solid var(--divider); color: var(--muted); white-space: nowrap; }
.panel-foot {
  padding: 12px 24px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
  line-height: 24px;
  color: var(--muted);
}

.cities {
  list-style: none;
  margin: 0;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 16px;
  line-height: 1.6;
}

.table { width: 100%; border-collapse: collapse; }
.table td {
  padding: 14px 24px 14px 0;
  vertical-align: top;
  border-bottom: 1px solid #e0e0e1;
}
.table tr:last-child td { border-bottom: 0; }
.table tr:hover { background: #ebebec; }
.table .num { width: 56px; padding-left: 24px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent-700); }
.table .name {
  width: 34%;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.table .desc { font-size: 15px; line-height: 1.6; color: var(--text-soft); }

.contact-list { margin: 32px 0 0; font-size: 15px; line-height: 1.7; }
.contact-list dd { margin: 0 0 16px; }
.contact-list dd:last-child { margin-bottom: 0; }
.contact-list-lg { margin-top: 0; font-size: 16px; }
.contact-list-lg dd { margin-bottom: 20px; }

.form-box { padding: 28px; }
.form-box h3 { font-size: 22px; }
.form-box form h3 { margin-bottom: 20px; }
.form-box .thanks p { font-size: 15px; line-height: 1.6; margin-top: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field-full { margin-top: 16px; }
.field label { display: block; font-size: 12px; margin-bottom: 5px; color: var(--muted); }
.input {
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 0;
}
.input:hover { border-color: #909192; }
.input:focus-visible { border-color: var(--accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.form-note { font-size: 13px; line-height: 1.5; margin-top: 14px; }

.cta {
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}
.cta h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.cta .text { margin-top: 20px; max-width: 46ch; }

.legal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.legal h2 { font-size: 24px; margin-bottom: 16px; }
.legal h2 + p + h2 { margin-top: 32px; }
.legal p { font-size: 15px; line-height: 1.7; color: var(--text-soft); }
.legal p + p { margin-top: 16px; }

.footer { border-top: 1px solid var(--divider); }
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px var(--gutter) 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  font-size: 14px;
}
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-brand {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.footer-grid .soft { line-height: 1.6; margin-top: 12px; }
.footer-contact { line-height: 1.7; }
.footer-contact .label { margin-bottom: 8px; }
.copyright {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .panel-head span:first-child { flex-basis: 100%; }
  .panel-head span + span { border-left: 0; border-top: 1px solid var(--divider); white-space: normal; flex: 1; }
  .table tr { display: grid; grid-template-columns: 56px 1fr; border-bottom: 1px solid #e0e0e1; }
  .table tr:last-child { border-bottom: 0; }
  .table td { border-bottom: 0; }
  .table .name { width: auto; }
  .table .desc { grid-column: 2; padding-top: 0; }
}
