:root {
  --blue: #079bb7;
  --blue-dark: #08738a;
  --blue-soft: #e8f7f9;
  --yellow: #ffd500;
  --ink: #171b1d;
  --muted: #5e6a6e;
  --line: #dce8ea;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #dff7f9;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(132deg, transparent 0 58%, rgba(255, 213, 0, .5) 58% 61%, transparent 61% 100%),
    linear-gradient(315deg, rgba(255, 255, 255, .58) 0 22%, transparent 22% 100%),
    #c9f1f5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(4, 153, 183, .05) 28px 34px, transparent 34px 62px);
  mask-image: linear-gradient(to bottom right, #000, transparent 56%);
}

.page-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 12px 48px rgba(11, 86, 99, .18);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 152px;
  padding: 30px clamp(28px, 6vw, 72px) 26px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  max-width: min(100%, 412px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.flag {
  flex: 0 0 auto;
  width: 96px;
  height: 58px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 5px 15px rgba(15, 54, 62, .14);
}

.flag span {
  display: block;
  height: 50%;
}

.flag span:first-child { background: #159fe0; }
.flag span:last-child { background: var(--yellow); }

main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(28px, 7vw, 86px);
}

.notice {
  display: grid;
  grid-template-columns: 84px minmax(0, 760px);
  gap: clamp(26px, 4vw, 52px);
  width: 100%;
  max-width: 920px;
}

.notice-mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  color: var(--blue-dark);
  background: var(--yellow);
  border-radius: 50%;
}

.notice-mark svg {
  width: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: #30383b;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.62;
}

.contacts {
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: 28px;
  border-top: 4px solid var(--blue);
}

.contacts-intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 17px 18px;
  color: var(--ink);
  text-decoration: none;
  background: var(--blue-soft);
  border: 1px solid #cfe9ed;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.contact:hover,
.contact:focus-visible {
  background: #dff4f7;
  border-color: var(--blue);
  transform: translateY(-2px);
  outline: none;
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 13px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}

.contact-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 28px;
  color: #677377;
  background: #f7fafb;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-dot {
  width: 4px;
  height: 4px;
  background: var(--yellow);
  border-radius: 50%;
}

@media (max-width: 760px) {
  body {
    background: #fff;
  }

  body::before {
    display: none;
  }

  .page-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header {
    min-height: auto;
    padding: 24px 22px 20px;
  }

  .brand {
    max-width: min(78%, 340px);
  }

  .flag {
    width: 54px;
    height: 34px;
  }

  main {
    place-items: start;
    padding: 42px 22px 54px;
  }

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

  .notice-mark {
    width: 62px;
    height: 62px;
  }

  .notice-mark svg {
    width: 32px;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .lead {
    font-size: 18px;
    line-height: 1.55;
  }

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

  footer {
    flex-wrap: wrap;
    gap: 7px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .site-header {
    align-items: flex-start;
  }

  .flag {
    width: 42px;
    height: 27px;
  }

  .contact {
    padding: 15px 13px;
    font-size: 15px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    margin-right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact {
    transition: none;
  }
}
