* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-Bold.woff2") format("woff2"), url("assets/fonts/Nunito-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("assets/fonts/Lato-Regular.woff2") format("woff2"), url("assets/fonts/Lato-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
  color: #3a4247;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

a {
  color: #0561AE;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid #0561AE;
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 4rem;
}

.site-head {
  padding: 2.5rem 0 0;
}
.site-head__inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.site-head__logo {
  width: 86px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.site-head__id {
  min-width: 0;
}
.site-head__name {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #14181a;
}
.site-head__full {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #666e72;
  max-width: 42ch;
}

.intro {
  padding: 4.5rem 0 3.5rem;
}
.intro__title {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #14181a;
  margin-bottom: 1.25rem;
}
.intro__lead {
  font-size: 1.15rem;
  color: #3a4247;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 4rem;
}

.contact-col {
  padding-right: 3.5rem;
}
.contact-col + .contact-col {
  padding-right: 0;
  padding-left: 3.5rem;
  border-left: 1px solid #e2e6e8;
}
.contact-col__rule {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.6rem;
}
.contact-col__need {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  color: #14181a;
  margin-bottom: 0.35rem;
}
.contact-col__hint {
  font-size: 0.95rem;
  color: #666e72;
  margin-bottom: 2rem;
}
.contact-col__org {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666e72;
  margin-bottom: 0.5rem;
}
.contact-col__address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
  color: #3a4247;
  margin-bottom: 1.75rem;
}
.contact-col__phone {
  display: block;
  width: fit-content;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #0561AE;
  transition: text-decoration-color 0.2s ease;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: transparent;
}
.contact-col__mail {
  display: block;
  width: fit-content;
  margin-top: 0.9rem;
  font-size: 1rem;
  color: #0561AE;
  text-decoration: underline;
  text-decoration-color: #e2e6e8;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.contact-col--spanc .contact-col__rule {
  background: #FF8A00;
}
.contact-col--spanc .contact-col__phone, .contact-col--spanc .contact-col__mail {
  color: #B35F00;
}
.contact-col--spanc .contact-col__phone:hover, .contact-col--spanc .contact-col__phone:focus-visible, .contact-col--spanc .contact-col__mail:hover, .contact-col--spanc .contact-col__mail:focus-visible {
  text-decoration-color: #FF8A00;
}
.contact-col--sima .contact-col__rule {
  background: #A8C33B;
}
.contact-col--sima .contact-col__phone, .contact-col--sima .contact-col__mail {
  color: #5A6E12;
}
.contact-col--sima .contact-col__phone:hover, .contact-col--sima .contact-col__phone:focus-visible, .contact-col--sima .contact-col__mail:hover, .contact-col--sima .contact-col__mail:focus-visible {
  text-decoration-color: #A8C33B;
}

.river {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: 2.5rem;
}
.river path {
  fill: none;
  stroke: #24A3E6;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.35;
}

.ground {
  padding: 0.75rem 0 2.75rem;
}
.ground__title {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #3a4247;
  margin-bottom: 1rem;
}
.ground__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #666e72;
  margin-bottom: 0.9rem;
}
.ground__text + .ground__title {
  margin-top: 1.75rem;
}
.ground__legal {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e6e8;
  font-size: 0.82rem;
  color: #666e72;
}

@media (max-width: 780px) {
  .shell {
    padding: 0 2rem;
  }
  .site-head {
    padding-top: 2rem;
  }
  .intro {
    padding: 3rem 0 2.5rem;
  }
  .contacts {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
  }
  .contact-col {
    padding-right: 0;
  }
  .contact-col + .contact-col {
    padding-left: 0;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-left: 0;
    border-top: 1px solid #e2e6e8;
  }
  .river {
    height: 44px;
    margin-bottom: 2.5rem;
  }
}
@media (max-width: 480px) {
  .shell {
    padding: 0 1.25rem;
  }
  .site-head__inner {
    gap: 0.9rem;
  }
  .site-head__logo {
    width: 72px;
  }
  .site-head__full {
    font-size: 0.75rem;
  }
  .intro__lead {
    font-size: 1.05rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
