.contacts { color: #2C2C2C; }
.contacts-top { text-align: center; padding: 50px 1rem; }
.contacts-top-h1 { font-size: 45px; line-height: 52px; margin-bottom: 30px; }
.contacts-top-p { font-size: 22px; line-height: 28px; }
.contacts-top-textwrap { max-width: 500px; display: flex; flex-direction: column; text-align: left; }
.contacts-top-textwrap__h1 { font-size: 45px; line-height: 55px; margin-bottom: 15px; }
.contacts-top-textwrap__h2 { font-size: 28px; line-height: 34px; margin-bottom: 20px; }
.contacts-top-textwrap__text { font-size: 18px; line-height: 28px; }
.contacts-top__picture { place-self: flex-end; }
  .contacts-top__picture img { width: clamp(250px, 100%, 100%); }
.contacts-header { max-width: 1560px; margin-inline: auto; display: flex; flex-direction: row; background: #FFFFFF; box-shadow: 0px 10px 30px #0000001F; border-radius: 2px; padding: 35px 30px 50px 30px; gap: 80px; margin-bottom: 50px; position: relative; z-index: 2; }
.contacts-header-left { max-width: 450px; flex: 0 1 450px; display: flex; flex-direction: column; text-align: left; }
.contacts-header-left__h2 { color: var(--color-blue); font-size: 28px; line-height: 34px; margin-bottom: 10px; }
.contacts-header-left__h3 { font-size: 18px; line-height: 25px; margin-bottom: 10px; }
.contacts-header-left__opening { font-size: 18px; line-height: 25px; margin-bottom: 50px; }
.contacts-header-left-row { display: flex; flex-direction: row; align-items: center; gap: 25px; margin-bottom: 20px; }
  .contacts-header-left-row a:not(.btn) { font-size: 18px; }
  .contacts-header-left-row .btn { margin-left: auto; width: 200px; }
.contacts-header__line { min-height: 100%; width: 2px; background-color: #707070; }
.contacts-header-graph { width: 100%; display: flex; flex-direction: column; }
.contacts-header-graph-top { display: flex; flex-direction: row; align-items: center; }
.contacts-header-graph-top__h2 { font-size: 28px; line-height: 36px; margin-bottom: 0; }
.contacts-header-graph-top__h3 { font-size: 18px; line-height: 24px; margin-left: auto; margin-bottom: 0; }
.contacts-header-graph-top__status { min-width: 115px; min-height: 36px; font-size: 18px; line-height: 24px; background: #36B229; color: #fff; border-radius: 4px; padding: 6px 10px; margin-left: 15px; text-align: center; }
.contacts-header-graph__h3 { font-size: 18px; line-height: 24px; margin-top: 15px; margin-bottom: 30px; }
.contacts-header-graph-wrap { max-width: 700px; display: flex; flex-direction: row; margin-top: auto; margin-bottom: 25px; justify-content: space-between; height: 170px; align-items: flex-end; min-height: 150px; }
.contacts-header-graph-wrap__column::after { height: 100%; max-height: 0; }

@keyframes up {
  0% { max-height: 0; }
  100% { max-height: 500px; }
}

.aos-animate .contacts-header-graph-wrap__column { animation: up 2s forwards ease-in-out; }
.contacts-header-graph-wrap__column { position: relative; width: 20px; border-radius: 2px; }
  .contacts-header-graph-wrap__column::after { position: absolute; font-size: 22px; line-height: 22px; bottom: -32px; left: 50%; transform: translateX(-50%); }
  .contacts-header-graph-wrap__column:nth-child(1) { background-color: #999999; height: 25%; }
    .contacts-header-graph-wrap__column:nth-child(1)::after { content: "8"; }
  .contacts-header-graph-wrap__column:nth-child(2) { background-color: #999999; height: 25%; }
    .contacts-header-graph-wrap__column:nth-child(2)::after { content: "9"; }
  .contacts-header-graph-wrap__column:nth-child(3) { background-color: #999999; height: 25%; }
    .contacts-header-graph-wrap__column:nth-child(3)::after { content: "10"; }
  .contacts-header-graph-wrap__column:nth-child(4) { background-color: #171717; height: 50%; }
    .contacts-header-graph-wrap__column:nth-child(4)::after { content: "11"; }
  .contacts-header-graph-wrap__column:nth-child(5) { background-color: #171717; height: 50%; }
    .contacts-header-graph-wrap__column:nth-child(5)::after { content: "12"; }
  .contacts-header-graph-wrap__column:nth-child(6) { background-color: #171717; height: 50%; }
    .contacts-header-graph-wrap__column:nth-child(6)::after { content: "13"; }
  .contacts-header-graph-wrap__column:nth-child(7) { background-color: #999999; height: 25%; }
    .contacts-header-graph-wrap__column:nth-child(7)::after { content: "14"; }
  .contacts-header-graph-wrap__column:nth-child(8) { background-color: #999999; height: 25%; }
    .contacts-header-graph-wrap__column:nth-child(8)::after { content: "15"; }
  .contacts-header-graph-wrap__column:nth-child(9) { background-color: #999999; height: 25%; }
    .contacts-header-graph-wrap__column:nth-child(9)::after { content: "16"; }
  .contacts-header-graph-wrap__column:nth-child(10) { background-color: #171717; height: 50%; }
    .contacts-header-graph-wrap__column:nth-child(10)::after { content: "17"; }
  .contacts-header-graph-wrap__column:nth-child(11) { background-color: #171717; height: 50%; }
    .contacts-header-graph-wrap__column:nth-child(11)::after { content: "18"; }
.contacts-boxes { max-width: 1563px; margin-inline: auto; display: flex; flex-direction: row; flex-wrap: wrap; gap: 25px; }
.contacts-boxes-bigBox { flex: 1 1 48%; display: flex; flex-direction: row; background: #FFFFFF; box-shadow: 0px 10px 30px #0000001F; border-radius: 25px; padding: 50px 35px; gap: 50px; align-items: center; }
.contacts-boxes-bigBox-left { flex: 1 1 70%; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.contacts-boxes-bigBox-left-top { display: flex; flex-direction: row; gap: 20px; margin-bottom: 25px; align-items: center; }
.contacts-boxes-bigBox-left-top__h2 { font-size: 28px; line-height: 34px; margin-bottom: 0; }
.contacts-boxes-bigBox-left__text { font-size: 18px; line-height: 24px; }
.contacts-boxes-bigBox__line { min-width: 2px; background-color: #b7b7b7; min-height: 80%; }
.contacts-boxes-bigBox-right { flex: 1 1 85%; display: flex; flex-direction: column; }
  .contacts-boxes-bigBox-right a { width: 210px; }
.contacts-boxes-bigBox-right-row { font-size: 18px; line-height: 18px; display: inline-flex; gap: 15px; margin-bottom: 15px; }
.contacts-boxes-bigBox-right__text { font-size: 18px; line-height: 24px; margin-bottom: 31px; }
.contacts-boxes-smallBox { flex: 0 1 372px; display: flex; flex-direction: column; background: #FFFFFF; box-shadow: 0px 10px 30px #0000001F; border-radius: 25px; padding: 30px; }
.contacts-boxes-smallBox-top { display: flex; flex-direction: row; align-items: center; gap: 20px; margin-bottom: 35px; }
.contacts-boxes-smallBox-top__h3 { font-size: 18px; line-height: 24px; }
.contacts-boxes-smallBox-row { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 15px; }
.contacts-boxes-smallBox-row__icon { width: 15px; }

@media screen and (max-width: 1600px) {
  .contacts-header { margin-inline: 1rem; }
  .contacts-boxes { padding-inline: 1rem; }
}

@media screen and (max-width: 1300px) {
  .contacts-top { gap: 100px; }
  .contacts-header { flex-direction: column; gap: 35px; }
  .contacts-header__line { display: none; }
  .contacts-header-left { flex: 1 1 100%; }
  .contacts-header-graph-wrap { max-width: 100%; height: 150px; }
  .contacts-boxes-bigBox { flex: 1 1 100%; }
  .contacts-boxes-smallBox { flex: 1 1 370px; }
}

@media screen and (max-width: 1000px) {
  .contacts-top { flex-direction: column; align-items: center; gap: 35px; }
  .contacts-top__picture { place-self: unset; }
  .contacts-top-textwrap { padding-top: 50px; text-align: center; }
}

@media screen and (max-width: 800px) {
  .contacts-boxes-bigBox-right { flex: 1 1 100%; width: 100%; }
    .contacts-boxes-bigBox-right a { width: 100%; }
  .contacts-boxes-bigBox { padding: 30px; }
}

@media screen and (max-width: 700px) {
  .contacts-header-graph-top { flex-wrap: wrap; align-items: center; text-align: center; justify-content: center; gap: 10px; }
  .contacts-header-graph-top__h2 { flex: 1 1 100%; }
  .contacts-header-graph-top__h3 { margin-left: unset; }
  .contacts-header-graph__h3 { text-align: center; }
  .contacts-header-left { max-width: 100%; }
  .contacts-boxes-bigBox { flex-direction: column; gap: 20px; }
  .contacts-boxes-bigBox__line { display: none; }
  .contacts-boxes-bigBox-left { align-items: center; text-align: center; }
  .contacts-boxes-bigBox-right { align-items: center; text-align: center; }
  .contacts-boxes-smallBox-top { align-items: center; justify-content: center; flex-direction: column; }
  .contacts-boxes-smallBox-row { justify-content: center; }
  .contacts-boxes-smallBox-top__h3 { text-align: center; }
  .contacts-header-left { align-items: center; }
  .contacts-header-left-row { flex-wrap: wrap; justify-content: center; width: 100%; gap: 10px; margin-bottom: 35px; }
    .contacts-header-left-row .btn { flex: 1 1 100%; width: 100%; }
  .contacts-boxes-smallBox-row { text-align: center; }
}

@media screen and (max-width: 600px) {
  .contacts-top-textwrap__h1 { font-size: 35px; line-height: 42px; }
  .contacts-top-textwrap__h2 { font-size: 24px; line-height: 30px; }
  .contacts-top-textwrap__text { font-size: 16px; line-height: 22px; }
  .contacts-header-graph-wrap__column { width: 15px !important; }
    .contacts-header-graph-wrap__column::after { font-size: 18px !important; line-height: 18px !important; bottom: -10px !important; }
  .contacts-header-left__h2,
  .contacts-header-graph-top__h2,
  .contacts-boxes-bigBox-left-top__h2 { font-size: 24px; line-height: 30px; }
  .contacts-header-left__h3,
  .contacts-header-graph-top__h3,
  .contacts-boxes-bigBox-left__text,
  .contacts-boxes-bigBox-right__text { font-size: 16px; line-height: 22px; }
  .contacts-header { margin-bottom: 25px; }
}

.contact-form { padding-inline: 1rem; max-width: 950px; margin: 3rem auto 0 auto; }
  .contact-form .form-fieldset { display: flex; justify-content: space-between; }
    .contact-form .form-fieldset .form-field { flex: 0 1 300px; }
  .contact-form .field-textarea { width: 100%; }
  .contact-form .form-textarea { width: 100%; height: 100px; max-width: unset; }
  .contact-form .form-submit { display: block; width: 200px; margin: 1rem auto 0 auto; }

@media screen and (max-width: 1000px) {
  .contact-form { max-width: 600px; }
    .contact-form .form-fieldset { display: block; }
    .contact-form .form-select,
    .contact-form .form-input { max-width: unset; }
}
