*, ::before, ::after {
  box-sizing: border-box;
}
html {
  font: 300 18px/1.3 'Open Sans', sans-serif;
  color: #333;
}
@media all and (min-width: 1320px) {
  html {
    font-size: 24px;
  }
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-weight: 600;
  margin: 0;
  padding: 0.75em 0;
  line-height: 1.1;
}
h1, .h1 {
  font-size: 2rem;
}
h2, .h2 {
  font-size: 1.5rem;
}
h3, .h3 {
  font-size: 1.4rem;
}
h4, .h4 {
  font-size: 1.375rem;
}
h5, .h5 {
  font-size: 1.25rem;
}
h6, .h6 {
  font-size: 1.125rem;
}
.big, big {
  font-size: 1.22rem;
}
.small, small {
  font-size: 0.778rem;
  line-height: 1.2;
}
strong {
  font-weight: 600;
}
.highlight {
  color: rgba(0,102,204,1);
}
.text-indent {
  display: block;
  padding-left: 1em;
}
a, .link {
  color: rgba(0,102,204,1);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
a:hover, .link:hover {
  text-decoration: underline;
}
a:focus, .link:focus {
  outline: none;
}
p {
  padding: 0.25em 0;
  margin: 0;
}
img {
  max-width: 100%;
}
.taj {
  text-align: justify;
}
.tac {
  text-align: center;
}
.grecaptcha-badge {
  display: none;
  visibility: hidden;
}
.screenreader {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px)
}
.wr {
  margin: 0 10px;
}
@media all and (min-width: 1000px) {
  .wr {
    margin: 0 auto;
    width: 940px;
  }
}
@media all and (min-width: 1320px) {
  .wr {
    width: 1260px;
  }
}
@media all and (min-width: 1620px) {
  .wr {
    width: 1560px;
  }
}
.spr-b::before,
.spr {
  background-image: url(../img/sprite.svg);
  background-repeat: no-repeat;
}
.spr-b::before {
  content: '';
}

/*** Button ***/
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3em;
  margin: 0;
  padding: 0 1em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: rgba(0,102,204,1);
  border: 2px solid rgba(0,102,204,1);
  border-radius: 0px;
  background-color: rgba(255,255,255,1);
  line-height: inherit;
  font-family: inherit;
  font-size: 1em;
  font-weight: 400;
  transition: opacity 0.2s, color 0.2s, background-color 0.2s;
  opacity: 1;
  appearance: none;
  user-select: none;
}
.button:active,
.button:hover,
.button:focus {
  text-decoration: none;
  color: rgba(0,102,204,1);
  border-color: rgba(0,102,204,1);
  background-color: rgba(255,255,255,1);
  opacity: 0.8;
}
.button:focus {
  outline: 2px solid rgba(0,102,204,1);
  outline-offset: 2px;
}
.button--primary,
.button--primary:active,
.button--primary:hover,
.button--primary:focus {
  color: rgba(255,255,255,1);
  background-color: rgba(0,102,204,1);
}
.button:disabled:active,
.button:disabled:hover,
.button:disabled:focus,
.button:disabled {
  cursor: default;
  opacity: 0.3;
  outline: none;
}
.button.go-consultation {
  width: 100%;
  max-width: 620px;
}
@media all and (min-width: 760px) {
  .button.go-consultation {
    font-size: 24px;
  }
}

/*** Header ***/
header {
  color: #fff;
  background-color: rgba(0,102,204,1);
  padding: 10px 0;
}
header a {
  color: inherit;
}
header .grid {
  display: grid;
  grid-gap: 10px 15px;
  grid-template-columns: 1fr;
  grid-template-areas: "phone" "email" "address";
}
header .contact-tel {
  grid-area: phone;
}
header .contact-email {
  grid-area: email;
}
header .contact-address {
  grid-area: address;
}
header .contact-tel a,
header .contact-email a {
  white-space: nowrap;
}
@media all and (max-width: 999px) {
  header {
    text-align: center;
  }
}
@media all and (min-width: 640px) {
  header .grid {
    grid-template-columns: auto min-content;
    grid-template-areas: "phone phone" "email address";
    align-items: center;
    justify-content: center;
  }
  header .contact-email {
    padding-right: 15px;
    border-right: 1px solid;
  }
  header .contact-address {
    white-space: nowrap;
  }
}
@media all and (min-width: 1000px) {
  header .grid {
    grid-template-columns: auto auto min-content;
    grid-template-areas: "phone email address";
    justify-content: initial;
  }
  header .contact-tel {
    justify-self: start;
  }
  header .contact-email {
    text-align: right;
    justify-self: end;
  }
  header .contact-address {
    justify-self: end;
  }
}
@media all and (min-width: 1320px) {
  header {
    font-size: 0.75rem;
  }
}

/*** Footer ***/
footer {
  padding: 30px 0;
  font-size: 14px;
  display: grid;
  grid-gap: 30px 20px;
  grid-template-areas: "logo" "fmenu" "dev";
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer a {
  color: inherit;
}
footer .fmenu > ul {
  display: flex;
  gap: 10px 20px;
  flex-direction: row;
  flex-wrap: wrap;
}
.developers {
  font-size: 12px;
  line-height: 16px;
  grid-area: dev;
  color: #666;
}
.developers a,
.developers img,
.developers span {
  display: inline-block;
  vertical-align: middle;
}
.fmenu {
  grid-area: fmenu;
}
.fmenu a {
  color: inherit;
}
footer .branding {
  display: grid;
  margin: 0 auto;
  max-width: 340px;
  grid-gap: 10px 10px;
  grid-template-columns: 90px auto;
  align-items: center;
  grid-area: logo;
}
@media all and (max-width: 639px) {
  footer .fmenu > ul {
    justify-content: center;
  }
  .developers {
    text-align: center;
  }
}
@media all and (max-width: 359px) {
  footer .branding {
    font-size: 12px;
  }
}
@media all and (min-width: 640px) {
  footer {
    grid-template-columns: auto 280px;
    grid-template-areas: "logo logo" "fmenu dev";
    align-items: center;
  }
  .developers {
    text-align: right;
  }
}
@media all and (min-width: 1000px) {
  footer {
    grid-template-columns: 1fr 340px 1fr;
    grid-template-areas: "fmenu logo dev";
  }
  footer .branding {
    grid-column: 2;
  }
  .fmenu {
    text-align: left;
    align-self: center;
  }
  .developers {
    text-align: right;
    align-self: center;
  }
}

.paragraph {
  margin-bottom: 3rem;
}

/*** paragraph-head ***/
.paragraph-head {
  text-align: center;
  position: relative;
}
.paragraph-head picture img,
.paragraph-head picture {
  display: block;
  width: 100%;
  height: auto;
}
.paragraph-head .text {
  padding: 1em 0;
}
.paragraph-head .text h1 {
  padding-top: 0;
}
@media screen and (max-width: 759px) {
  .paragraph-head .text h1 {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 760px) {
  .paragraph-head .text {
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    bottom: 10%;
    padding: 1em 10px;
    width: 680px;
    box-sizing: border-box;
  }
}
@media screen and (min-width: 1320px) {
  .paragraph-head .text {
    width: 1260px;
  }
}

/*** paragraph-services ***/
.paragraph-services > .title {
  font-weight: 300;
  padding-bottom: 0;
}
.paragraph-services .grid {
  font-weight: 400;
  display: grid;
  grid-gap: 40px 20px;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}
.service .image {
  position: relative;
  aspect-ratio: 620 / 360;
  background: #000;
}
.service .image picture {
  display: block;
  line-height: 0;
}
.service .image img {
  width: 100%;
  height: auto;
}
.service .image .title {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  color: #fff;
}
.service .image .title,
.service p {
  padding-left: 10px;
  padding-right: 10px;
}
@media all and (min-width: 640px) {
  .paragraph-services .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media all and (min-width: 1000px) {
  .service {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
}

/*** paragraph-contact ***/
.paragraph-contact {
  background: #f6f6f6;
  padding: 3em 0;
}
.paragraph-contact .title {
  padding-top: 0;
  color: rgba(0,102,204,1);
}
.paragraph-contact .contact-tel {
  font-weight: 300;
  padding: 0;
}
.paragraph-contact .contact-tel a,
.paragraph-contact .contact-email a {
  color: inherit;
  white-space: nowrap;
}

/*** paragraph-text-icons ***/
.paragraph-text-icons .grid {
  text-align: center;
  display: grid;
  grid-gap: 40px 20px;
  grid-template-columns: 1fr;
  padding: 1em 0 2em;
}
.paragraph-text-icons .grid strong {
  font-weight: 400;
}
.paragraph-text-icons .grid .spr-b {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 1em;
}
.paragraph-text-icons .grid .spr-b::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: 86px 4300px;
}
.paragraph-text-icons .grid .spr-b.i-1::before {
  background-position: 0 0;
  height: 82px;
  width: 86px;
}
.paragraph-text-icons .grid .spr-b.i-2::before {
  background-position: 0 -86px;
  height: 80px;
  width: 86px;
}
.paragraph-text-icons .grid .spr-b.i-3::before {
  background-position: 0 -172px;
  height: 86px;
  width: 61px;
}
.paragraph-text-icons .grid .spr-b.i-4::before {
  background-position: 0 -258px;
  height: 86px;
  width: 86px;
}
.paragraph-text-icons .grid .spr-b.i-5::before {
  background-position: 0 -344px;
  height: 86px;
  width: 86px;
}
.paragraph-text-icons .grid .spr-b.i-6::before {
  background-position: 0 -430px;
  height: 82px;
  width: 86px;
}
@media all and (min-width: 480px) {
  .paragraph-text-icons .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media all and (min-width: 1000px) {
  .paragraph-text-icons .grid {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 3em 0 3em;
    grid-gap: 60px 20px;
  }
  .paragraph-text-icons .grid .spr-b {
    margin-bottom: 2em;
  }
}

/*** paragraph-text-image ***/
.paragraph-text-image {
  display: grid;
  grid-gap: 20px 20px;
  grid-template-areas: "img" "text";
}
.paragraph-text-image .title {
  padding-top: 0;
  font-weight: 400;
}
.paragraph-text-image .image {
  grid-area: img;
  line-height: 0;
}
.paragraph-text-image .image img {
  width: 100%;
  height: auto;
}
.paragraph-text-image .text {
  grid-area: text;
}
@media all and (max-width: 999px) {
  .paragraph-text-image {
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media all and (min-width: 640px) {
  .paragraph-text-image .title,
  .paragraph-text-image .text {
    max-width: 620px;
    margin: 0 auto;
  }
}
@media all and (min-width: 1000px) {
  .paragraph-text-image {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-template-areas: "img img text .";
    grid-template-columns: 1fr 460px 460px 1fr;
  }
  .paragraph-text-image[data-dir="right"] {
    grid-template-areas: ". text img img";
  }
  .paragraph-text-image .image {
    text-align: right;
  }
  .paragraph-text-image[data-dir="right"] .image {
    text-align: left;
  }
  .paragraph-text-image[data-dir="right"] .text {
    text-align: right;
  }
}
@media all and (min-width: 1320px) {
  .paragraph-text-image {
    grid-template-columns: 1fr 620px 620px 1fr;
    font-size: 18px;
  }
}
@media all and (min-width: 1640px) {
  .paragraph-text-image .title,
  .paragraph-text-image .text {
    max-width: none;
    margin: 0;
  }
  .paragraph-text-image {
    grid-template-columns: 1fr 620px 620px 300px 1fr;
    grid-template-areas: "img img text text .";
  }
  .paragraph-text-image[data-dir="right"] {
    grid-template-columns: 1fr 300px 620px 620px 1fr;
    grid-template-areas: ". text text img img";
  }
}
@media all and (min-width: 1920px) {
  .paragraph-text-image .image img {
    width: auto;
  }
}

/*** Map ***/
.map {
  background: #ccc;
  height: 360px;
}
.map-info-text {
  margin-bottom: 1em;
}
.map-info > div:last-child {
  margin-bottom: 0;
}
.map-info {
  padding: 0 10px;
  font-size: 0.89em;
}
.map-info-name {
  font-weight: 600;
}
.map-info-email a {
  white-space: nowrap;
}
.map-info-tel a {
  color: inherit;
  white-space: nowrap;
}
@media all and (max-width: 999px) {
  .map-con {
    margin-bottom: 20px;
  }
}
@media all and (max-width: 759px) {
  .map-info {
    padding: 20px 10px 0;
    margin: 0 auto;
    max-width: 320px;
  }
}
@media all and (min-width: 760px) {
  .map-con {
    position: relative;
  }
  .map-info {
    padding: 20px 10px;
    width: 320px;
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(50px, -50%);
    z-index: 2;
  }
}
@media all and (min-width: 1000px) {
  .map-info {
    width: 420px;
    padding: 40px 60px;
  }
}
@media all and (min-width: 1320px) {
  .map-con {
    font-size: 24px;
  }
  .map-info {
    width: 550px;
    padding: 40px 70px;
  }
}
