:root {
  --blue: #2495e0;
  --blue-dark: #123e67;
  --blue-soft: #e2f3fa;
  --green: #168a3b;
  --text: rgba(0, 0, 0, .78);
  --muted: #626a73;
  --line: rgba(18, 62, 103, .14);
  --shadow: 0 18px 60px rgba(18, 62, 103, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand img {
  flex: 0 0 auto;
}

.brand b,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand b {
  font-weight: 600;
}

.brand small {
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  flex: 1;
  color: var(--muted);
}

.nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--blue-dark);
  border-color: var(--blue);
}

.top-phone {
  color: var(--blue-dark);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px) 44px;
  background:
    radial-gradient(circle at 78% 18%, rgba(36, 149, 224, .14), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f7fcff 48%, #e2f3fa 100%);
  overflow: hidden;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 500;
}

h2 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
}

h3 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
}

.lead,
.text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button--primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(36, 149, 224, .22);
}

.button--ghost,
.copy-button {
  color: var(--blue-dark);
  background: #fff;
}

.notice {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(36, 149, 224, .22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.notice:before {
  content: "";
  position: absolute;
  inset: auto 28px -22px auto;
  width: 170px;
  height: 170px;
  border: 2px solid rgba(36, 149, 224, .2);
  border-radius: 50%;
}

.notice__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
}

.notice b {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 24px;
}

.notice p {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.quick-strip {
  display: flex;
  gap: 10px;
  padding: 16px clamp(18px, 5vw, 72px);
  overflow-x: auto;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-strip span {
  flex: 0 0 auto;
  padding: 9px 14px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section--soft {
  background: var(--blue-soft);
}

.section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section__head:after {
  content: "";
  display: block;
  width: 80px;
  margin-top: 20px;
  border-bottom: 2px solid var(--blue);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.department-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(18, 62, 103, .07);
}

.department-card--accent {
  background: linear-gradient(135deg, #fff 0%, #eef9ff 100%);
  border-color: rgba(36, 149, 224, .34);
}

.department-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 54px;
}

.marker {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 6px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.address {
  margin: 18px 0;
  color: var(--muted);
  line-height: 1.55;
}

.phone,
.email {
  display: block;
  width: fit-content;
  margin-top: 8px;
}

.phone {
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 800;
}

.email {
  color: var(--blue);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(36, 149, 224, .2);
  border-radius: 8px;
}

.contact-panel a {
  padding: 13px 14px;
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.map-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 62, 103, .06) 1px, transparent 1px),
    linear-gradient(rgba(18, 62, 103, .06) 1px, transparent 1px),
    #f3f8fb;
  background-size: 36px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  width: min(320px, calc(100% - 40px));
  padding: 18px;
  background: rgba(226, 243, 250, .92);
  border: 1px solid rgba(36, 149, 224, .22);
  border-radius: 8px;
  color: var(--blue-dark);
  backdrop-filter: blur(10px);
}

.map-overlay b,
.map-overlay span {
  display: block;
}

.map-overlay span {
  margin-top: 6px;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--blue-soft);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.copy-button.is-copied {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

@media (max-width: 1040px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 100%;
  }

  .nav {
    justify-content: flex-start;
    flex: 1 1 100%;
    overflow-x: auto;
  }

  .top-phone {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  h1 {
    font-size: 34px;
  }

  .lead,
  .text {
    font-size: 16px;
  }

  .actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .copy-button {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .notice {
    grid-template-columns: 1fr;
  }

  .map-overlay {
    position: static;
    width: 100%;
    border-radius: 0;
  }
}
