:root {
  color-scheme: light;
  --ink: #082136;
  --muted: #43596c;
  --blue: #0065bd;
  --line: #dce6ef;
  --pale: #f2f7fb;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
.brand { display: block; width: 152px; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(36px, 5.5vw, 84px);
  padding-block: clamp(56px, 7vw, 104px);
}
.tag {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .12em;
}
h1 {
  font-size: clamp(2.55rem, 5.1vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -.058em;
}
h1 em { font-style: normal; color: var(--blue); }
.intro {
  max-width: 43ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
}
.map {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #eaf2f8;
}
.map img { width: 100%; }
.services {
  padding-block: clamp(48px, 6vw, 76px);
  background: var(--pale);
  border-block: 1px solid var(--line);
}
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3.4vw, 36px); scroll-margin-top: 20px; }
.card:target { border-color: var(--blue); }
.card h2 { margin-top: 9px; font-size: clamp(1.25rem, 2.5vw, 1.6rem); letter-spacing: -.035em; }
.card p:last-child { max-width: 49ch; margin-top: 9px; color: var(--muted); line-height: 1.6; }
.site-footer { min-height: 90px; color: var(--muted); font-size: .9rem; }
.site-footer .brand { width: 112px; }
.contact { display: flex; flex-wrap: wrap; gap: 8px; font-style: normal; }
.contact a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--pale);
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.contact a:hover { border-color: var(--blue); text-decoration: underline; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .map img { aspect-ratio: 16 / 10; object-fit: cover; }
}

@media (max-width: 520px) {
  .header-inner { min-height: 64px; }
  .header-inner .brand { width: 114px; }
  .cards { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; padding-block: 16px; }
  .contact { flex-direction: column; }
}
