section.hero {
  background: #8ee4af;
  background: linear-gradient(0deg, #f8fafc 0%, #8ee4af 100%);
  padding: 100px 0;
  text-align: center;
}
section.hero h1 {
  font-size: 4.5rem;
  line-height: 0.8;
  font-weight: 700;
  color: var(--title);
}
@media (max-width: 576px) {
  section.hero h1 {
    font-size: 4rem;
    line-height: 4rem;
  }
}
section.hero p.subtitle {
  font-size: 2.3rem;
  line-height: 0.8;
  font-weight: 700;
  color: var(--title);
  margin-top: 20px;
}
@media (max-width: 576px) {
  section.hero p.subtitle {
    font-size: 2rem;
    line-height: 2.5rem;
  }
}
section.hero p.subtitle + p {
  font-size: 1.2rem;
  color: var(--title);
  max-width: 800px;
  margin: 50px auto 0;
}

.salary-country {
  border: 2px solid var(--green);
  border-radius: 24px;
  background: white;
  overflow: hidden;
}
.salary-country[open] .salary-country__arrow {
  transform: rotate(180deg);
  background: var(--maingreen);
}
.salary-country__summary {
  min-height: 92px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  background: white;
}
.salary-country__summary::-webkit-details-marker {
  display: none;
}
.salary-country__name {
  display: flex;
  align-items: center;
  gap: 16px;
}
.salary-country__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  background: var(--green);
  font-size: 28px;
}
.salary-country__title {
  display: block;
  color: var(--title);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}
.salary-country__position {
  display: block;
  margin-top: 5px;
  color: var(--subtitle);
  font-size: 15px;
  line-height: 1.4;
}
.salary-country__short {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--subtitle);
  font-size: 15px;
}
.salary-country__short strong {
  color: var(--title);
  font-size: 19px;
}
.salary-country__arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--green);
  transition: transform 0.25s ease, background 0.25s ease;
}
.salary-country__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--title);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.salary-country__content {
  padding: 8px 24px 30px;
}

.salary-section {
  padding: 34px 0;
  border-top: 1px solid var(--green);
}
.salary-section__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.salary-section__heading p.title {
  margin: 0;
  color: var(--title);
  font-size: clamp(18px, 3vw, 25px);
  line-height: 1.2;
  font-weight: 700;
}
.salary-section__link {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  align-self: center;
  border-radius: 12px;
  background: var(--title);
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 50px auto 20px;
}
.salary-section__link:hover {
  color: #fff;
}
.salary-section__link span {
  font-size: 19px;
  line-height: 1;
}
.salary-section__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--green);
}
.salary-section__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--title);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.salary-list {
  display: flex;
  gap: 36px;
}
.salary-list__column {
  width: calc(50% - 15px);
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.salary-country {
  width: 100%;
}

.salary-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.salary-overview__card {
  min-height: 180px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 20px;
  background: white;
}
.salary-overview__card--primary {
  background: var(--green);
  border-color: var(--green);
}

.salary-label {
  display: block;
  margin-bottom: 12px;
  color: var(--subtitle);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.salary-value {
  display: block;
  color: var(--title);
  font-size: clamp(42px, 6vw, 60px);
  line-height: 1;
  font-weight: 800;
}

.salary-period {
  display: block;
  margin-top: 12px;
  color: var(--subtitle);
  font-size: 14px;
}

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

.experience-card {
  padding: 24px;
  border: 2px solid var(--green);
  border-radius: 20px;
  background: white;
}
.experience-card--featured {
  border-color: var(--maingreen);
}
.experience-card__top {
  margin-bottom: 25px;
}
.experience-card__level {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--title);
  font-size: 19px;
  font-weight: 700;
}
.experience-card__lines {
  width: 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.experience-card__lines i {
  height: 4px;
  display: block;
  border-radius: 10px;
  background: var(--maingreen);
}
.experience-card__lines i:nth-child(1) {
  width: 11px;
}
.experience-card__lines i:nth-child(2) {
  width: 16px;
}
.experience-card__lines i:nth-child(3) {
  width: 20px;
}
.experience-card__years {
  color: var(--subtitle);
  font-size: 13px;
  white-space: nowrap;
}
.experience-card__salary {
  display: block;
  color: var(--title);
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
}

.tech-list {
  padding: 24px 28px;
  border: 2px solid var(--green);
  border-radius: 20px;
  background: white;
}

.tech-item {
  padding: 14px 0;
}
.tech-item__head {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tech-item__name {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tech-item__name strong {
  color: var(--title);
  font-size: 16px;
}
.tech-item__number {
  width: 28px;
  flex: 0 0 28px;
  color: var(--subtitle);
  font-weight: 700;
}
.tech-item__label {
  color: var(--subtitle);
  font-size: 14px;
  text-align: right;
}
.tech-item__bar {
  height: 10px;
  margin-left: 42px;
  overflow: hidden;
  border-radius: 100px;
  background: var(--green);
}
.tech-item__bar span {
  width: var(--progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--maingreen);
}

.country-meta {
  padding: 40px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  border-radius: 20px;
  background: var(--green);
  color: var(--title);
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .salary-list__column {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .salaries {
    padding: 24px 0;
  }
  .salary-country {
    border-radius: 18px;
  }
  .salary-country__summary {
    min-height: auto;
    padding: 16px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .salary-country__flag {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 23px;
  }
  .salary-country__title {
    font-size: 19px;
  }
  .salary-country__position {
    font-size: 13px;
  }
  .salary-country__short {
    grid-column: 1/-1;
    grid-row: 2;
    padding-left: 62px;
  }
  .salary-country__arrow {
    grid-column: 2;
    grid-row: 1;
  }
  .salary-country__content {
    padding: 4px 16px 20px;
  }
  .salary-section {
    padding: 28px 0;
  }
  .salary-section__heading p.title {
    font-size: 24px;
  }
  .salary-overview {
    grid-template-columns: 1fr;
  }
  .salary-overview__card {
    min-height: 150px;
    padding: 22px;
  }
  .salary-value {
    font-size: 46px;
  }
  .experience-card {
    min-height: auto;
  }
  .tech-list {
    padding: 16px;
  }
  .tech-item__head {
    align-items: flex-start;
  }
  .tech-item__label {
    max-width: 100px;
    font-size: 12px;
  }
  .tech-item__bar {
    margin-left: 0;
  }
  .country-meta {
    grid-template-columns: 1fr;
  }
}
section.content {
  background: #fff;
  padding: 60px 40px;
  box-sizing: border-box;
  border-radius: 15px;
  margin: 100px auto 30px;
  max-width: 90%;
  border: 2px solid var(--title);
  border-top: 5px solid var(--title);
}
@media (max-width: 576px) {
  section.content {
    padding: 30px 20px;
    max-width: 95%;
  }
}
section.content p {
  color: var(--text);
}
section.content ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  list-style-type: none;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
@media (max-width: 576px) {
  section.content ul {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
  }
}
section.content ul li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 10px;
  max-width: 90%;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
@media (max-width: 576px) {
  section.content ul li {
    max-width: 100%;
  }
}
section.content ul li:before {
  content: "";
  position: absolute;
  left: -20px;
  top: 3px;
  background: url("/images/pin.png");
  width: 16px;
  height: 16px;
}

h2 {
  color: var(--title);
  font-size: 2rem;
  line-height: 2.2rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  margin: 80px 0 70px;
}
h2:after {
  position: absolute;
  content: "";
  background: var(--title);
  width: 100px;
  height: 4px;
  left: calc(50% - 50px);
  bottom: -20px;
}
h2 + p.subtitle {
  font-size: 1.2rem;
  color: var(--title);
  max-width: 600px;
  margin: 50px auto;
  text-align: center;
}