.wrapper {
    background: #f5f5f5;   
}

.career-title-wrapper {
  padding: 40px 30px 136px;
  max-width: 1512px;
  width: 100%;
  margin: 0 auto;
}

.career-title-primary {
  color: #3855ff;
  font-size: 50px;
  font-size: clamp(38px, 5vw, 50px);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 35px 0;
  line-height: 0.94;
  margin-left: 100px;
  max-width: 100%;
}

.career-title-secondary {
    text-transform: none;
    font-family: var(--font-family);
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #2b2b2b;
    font-size: clamp(46px, 5vw, 70px);
    max-width: 1452px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
.line-title-secondary {
    display: flex;
}
.line-top {
    margin-left: 100px;
    max-width: 100%;
}
.line-bottom {
    text-align: left;
    margin-right: auto;
}
.line-top-mobile {
  display: none;
}
.line-bottom-mobile {
  display: none;
}
.career-button-text {
    display: flex;
    max-width: 1349px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.career-title-button {
  max-width: 476px;
  width: 100%;
  position: relative;
  display: flex;
  padding: 6px 7px;
  align-items: center;
  justify-content: center;
  background-color: #3855ff;
  transition: background-color 0.3s;
}
.career-title-button-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  max-width: 462px;
  width: 100%;
  text-align: center;
}
.career-title-button-text span {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 50px);
  line-height: 1.2;
  text-transform: uppercase;
  color: #f5f5f5;
}
.career-title-button-text::before,
.career-title-button-text::after,
.career-title-button-text > *::before,
.career-title-button-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #f5f5f5;
}
/* Левый верхний угол */
.career-title-button-text::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}
/* Правый верхний угол */
.career-title-button-text::after {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}
/* Левый нижний угол */
.career-title-button-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
/* Правый нижний угол */
.career-title-button-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}
.career-title-button:hover {
    background-color: #2a3eb1;
}
.career-title-text {
    max-width: 615px;
    width: 100%;
    display: flex;
    padding: 12px;
    position: relative;
    align-items: center;
    justify-content: center;
}
.career-title-text p {
    max-width: 573px;
    width: 100%;
    color: #111;
    line-height: 1;
    font-size: clamp(10px, 5vw, 17px);
}
.career-title-text::before,
.career-title-text::after,
.career-title-text > *::before,
.career-title-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #1e1e1e;
}
/* Левый верхний угол */
.career-title-text::before {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}
/* Правый верхний угол */
.career-title-text::after {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
/* Левый нижний угол */
.career-title-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
/* Правый нижний угол */
.career-title-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
@media (max-width: 769px) {
.career-title-wrapper {
  padding: 40px 30px 0;
  max-width: 390px;
  width: 100%;
  margin: 0 auto 49px;
}

.career-title-primary {
  color: #3855ff;
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 0.94;
  margin-left: 0;
  max-width: 100%;
  text-align: left;
}
.career-title-secondary {
    text-transform: none;
    font-family: var(--font-family);
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #2b2b2b;
    font-size: clamp(18px, 5vw, 22px);
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}
.line-title-secondary {
    display: flex;
}
.line-top-mobile {
  display: block;
  text-align: left;
  margin-left: 35px;
  max-width: 100%;
}
.line-bottom-mobile {
  display: block;
  text-align: left;
  margin-right: auto;
}
.line-top {
  display: none;
}
.line-bottom {
  display: none;
}

.career-button-text {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-left: 0;
}

.career-title-button {
  max-width: 100%;
  width: 100%;
  position: relative;
  display: flex;
  padding: 6px 7px;
  align-items: center;
  justify-content: center;
  background-color: #3855ff;
  transition: background-color 0.3s;
}
.career-title-button-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  max-width: 100%;
  width: 100%;
  text-align: center;
}
.career-title-button-text span {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 17px;
  font-size: clamp(14px, 5vw, 17px);
  line-height: 1.2;
  text-transform: uppercase;
  color: #f5f5f5;
}
.career-title-button-text::before,
.career-title-button-text::after,
.career-title-button-text > *::before,
.career-title-button-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #f5f5f5;
}
/* Левый верхний угол */
.career-title-button-text::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}
/* Правый верхний угол */
.career-title-button-text::after {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}
/* Левый нижний угол */
.career-title-button-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
/* Правый нижний угол */
.career-title-button-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}
.career-title-button:hover {
    color: inherit;
    transform: none;
    background-color: transparent;
    text-decoration: none;
}

.career-title-text {
    max-width: 100%;
    width: 100%;
    display: flex;
    padding: 12px;
    position: relative;
    align-items: center;
    justify-content: center;
}
.career-title-text p {
    max-width: 100%;
    width: 100%;
    font-size: 13px;
    color: #111;
    line-height: 1;
    font-size: clamp(8px, 5vw, 13px);
}
.career-title-text::before,
.career-title-text::after,
.career-title-text > *::before,
.career-title-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #1e1e1e;
}
/* Левый верхний угол */
.career-title-text::before {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}
/* Правый верхний угол */
.career-title-text::after {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
/* Левый нижний угол */
.career-title-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
/* Правый нижний угол */
.career-title-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
}

/* industries-about-section */

.industries-about-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1512px;
  width: 100%;
  margin: 0 auto;
  padding: 70px 30px 0;
  background: #2B2B2B;
  --cut-x: clamp(70px, 12vw, 200px);
  --cut-y: clamp(70px, 12vw, 200px); 
  clip-path: polygon(
    var(--cut-x) 0%,
    100% 0%,
    100% 100%,
    0% 100%,
    0% var(--cut-y)
  );
}
.industries-about-logo {
  display: flex;
  margin: 0 auto;
}
.industries-about-logo img {
  max-width: 100%;
}
.list-of-industries-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.horizontal-list-about {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.horizontal-list-about li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.5vw, 12px) clamp(10px, 2vw, 15px);
  border: 1px solid  #f5f5f5;
  border-radius: 900px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(12px, 1.8vw, 20px);
  letter-spacing: -0.02em;
  color:  #f5f5f5;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  flex: 1 1 auto;
  overflow-x: auto;
  flex-shrink: 0;
    margin-left: 5px;
    margin-bottom: 5px;
}
.industries-about-wrapper-bottom {
  display: flex;
  max-width: 1512px;
  width: 100%;
  margin: -150px auto 0;
}
.industries-about-wrapper-bottom img {
  max-width: 100%;
}

@media (max-width: 769px) {

  .industries-about-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
  padding: 70px 30px 0;
  background: #2B2B2B;
  --cut-x: clamp(36px, 12vw, 70px); 
  --cut-y: clamp(36px, 12vw, 70px);
  clip-path: polygon(
    var(--cut-x) 0%,
    100% 0%,
    100% 100%,
    0% 100%,
    0% var(--cut-y)
  );
}
.industries-about-logo {
  display: flex;
  margin: 0 auto;
}
.industries-about-logo img {
  max-width: 100%;
}
.list-of-industries-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mobile-layout .horizontal-list-about {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.mobile-layout .horizontal-list-about li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3px, 1.5vw, 5px) clamp(8px, 2vw, 12px);
  border: 1px solid  #f5f5f5;
  border-radius: 900px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(6px, 1.8vw, 8px);
  letter-spacing: -0.02em;
  color:  #f5f5f5;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  flex: 1 1 auto;
  min-width: fit-content;
  max-width: none;
    margin-left: 5px;
    margin-bottom: 5px;
}
.industries-about-wrapper-bottom {
  display: flex;
  max-width: 390px;
  width: 100%;
  margin: -30px auto 0;
}
.industries-about-wrapper-bottom img {
  max-width: 100%;
}
}


/* steps-section */

.steps-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1512px;
  width: 100%;
  margin: 136px auto;
  padding: 0 30px;
  flex-wrap: wrap;
}
.steps-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  border-top: 1px solid rgba(56, 85, 255, 0.34);
}
.steps-wrapper > *:nth-child(1),
.steps-wrapper > *:nth-child(2),
.steps-wrapper > *:nth-child(3) {
  border-right: 1px solid  rgba(56, 85, 255, 0.34);
}
.steps-wrapper > *:nth-child(1) .steps-block-top {
  padding: 44px 17px 259px;
}
.steps-wrapper > *:nth-child(2) .steps-block-top {
  padding: 44px 17px 204px;
}
.steps-wrapper > *:nth-child(3) .steps-block-top {
  padding: 44px 17px 143px;
}
.steps-wrapper > *:nth-child(4) .steps-block-top {
  padding: 44px 17px 71px;
}  
.steps-line {
  display: flex;
  width: 100%;
  border: 9px solid #3855ff;
}
.steps-block-bottom {
  padding: 24px 17px 60px;
  background: #232323;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.steps-wrapper > *:nth-child(1) .steps-block-bottom  > *:nth-child(1) {
  margin-bottom: 100px;
}
.steps-wrapper > *:nth-child(2) .steps-block-bottom  > *:nth-child(1) {
  margin-bottom: 155px;
}
.steps-wrapper > *:nth-child(3) .steps-block-bottom  > *:nth-child(1) {
  margin-bottom: 206px;
} 
.steps-wrapper > *:nth-child(4) .steps-block-bottom  > *:nth-child(1) {
  margin-bottom: 278px;
} 
.steps-block-bottom h4 {
  font-weight: 900;
  font-size: 60px;
  color: #f5f5f5;
}

.steps-block-bottom p {
  max-width: 380px;
  width: 100%;
  color: #f5f5f5;
}

@media (max-width: 769px) {
  .steps-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 390px;
  width: 100%;
  margin: 49px auto;
  padding: 0 30px;
  flex-wrap: nowrap;
  gap: 30px;
}
.steps-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  border: none;
}
.steps-wrapper > *:nth-child(1),
.steps-wrapper > *:nth-child(2),
.steps-wrapper > *:nth-child(3) {
  border: none;
}
.steps-block-top h5 {
  font-size: 12px;
}
.steps-wrapper > *:nth-child(1) .steps-block-top,
.steps-wrapper > *:nth-child(2) .steps-block-top,
.steps-wrapper > *:nth-child(3) .steps-block-top,
.steps-wrapper > *:nth-child(4) .steps-block-top {
  padding: 0 15.68px 180.95px;
  background: #f1f1f1;
}

.steps-line {
  display: flex;
  width: 100%;
  border: 6.14px solid #3855ff;
}
.steps-block-bottom {
  padding: 16.36px 15.68px 31.73px;
  background: #232323;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.steps-wrapper > *:nth-child(1) .steps-block-bottom  > *:nth-child(1),
.steps-wrapper > *:nth-child(2) .steps-block-bottom  > *:nth-child(1),
.steps-wrapper > *:nth-child(3) .steps-block-bottom  > *:nth-child(1),
.steps-wrapper > *:nth-child(4) .steps-block-bottom  > *:nth-child(1) {
  margin-bottom: 88.36px;
}

.steps-block-bottom h4 {
  font-weight: 700;
  font-size: 40px;
  color: #f5f5f5;
}

.steps-block-bottom p {
  font-size: 11px;
  max-width: 100%;
  width: 100%;
  color: #f5f5f5;
}
}


/* career-content-section */
.career-content-blocks {
  max-width: 1512px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 30px 182px;
  gap: 60px;
}
.career-content-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 34px 0 0 0;
  border-top: 1px solid #111;
}
.career-content-text {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  max-width: 1018px;
  width: 100%;
}
.career-content-text h3 {
    font-family: var(--second-family);
font-weight: 900;
font-size: clamp(20px, 4vw, 50px);
line-height: 0.94;
letter-spacing: 0cap;
text-transform: uppercase;
color: #111;
width: 25%;
}
.career-content-discription {
    max-width: 510px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 19px;
}
.career-discription-top {
    display: flex;
    gap: 20px;
    align-items: center;
}
.career-discription-top p {
    font-size: clamp(12px, 4vw, 22px);
    color: #111;
}
.career-discription-top img {
    max-width: 100%;
}
.career-discription-bottom {
    display: flex;
    align-items: center;
}
.employment {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    padding: clamp(6px, 3vw, 12px);
    max-width: 100%;
    background: #2b2b2b;
}
.employment p {
    font-size: clamp(12px, 4vw, 22px);
    color: #f5f5f5;
    text-align: center;
}
.specialist {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    padding: clamp(6px, 3vw, 12px);
    max-width: 100%;
}
.specialist p {

    font-size: clamp(12px, 4vw, 22px);
    color: #2b2b2b;
    text-align: center;
}

.career-content-button {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 348px;
  width: 100%;
}
.career-content-button-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5px, 3vw, 11px);
  max-width: 334px;
  width: 100%;
  
}
.career-content-button-text span {
  font-family: var(--second-family);
  font-weight: 900;
  font-size: clamp(18px, 4vw, 35px);
  line-height: 1.2;
  text-transform: uppercase;
  color: #111;
  text-align: center;
}
.career-content-button-text::before,
.career-content-button-text::after,
.career-content-button-text > *::before,
.career-content-button-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #3855FF;
}
/* Левый верхний угол */
.career-content-button-text::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}
/* Правый верхний угол */
.career-content-button-text::after {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}
/* Левый нижний угол */
.career-content-button-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
/* Правый нижний угол */
.career-content-button-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}
@media (max-width: 1150px) {
  .career-discription-bottom {
    flex-wrap: wrap;
  }
}
@media (max-width: 769px) {
  .career-content-blocks {
  max-width: 390px;
  width: 100%;
  margin: 0 auto 100px;
  display: flex;
  flex-direction: column;
  padding: 0 30px;
  gap: 60px;
}
.career-content-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 50px;
  padding: 50px 0 0 0;
  border-top: 1px solid #111;
}
.career-content-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
  max-width: 100%;
  width: 100%;
}
.career-content-text h3 {
    font-family: var(--second-family);
font-weight: 900;
font-size: 30px;
line-height: 0.94;
letter-spacing: 0cap;
text-transform: uppercase;
color: #111;
width: 100%;
}
.career-content-discription {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 19px;
    max-width: 100%;
}
.career-discription-top {
    display: flex;
    gap: 20px;
    align-items: center;
}
.career-discription-top p {
    font-size: 13px;
    font-size: clamp(8px, 4vw, 13px);
    color: #111;
}
.career-discription-top img {
    max-width: 100%;
}
.career-discription-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.employment {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    padding: clamp(6px, 2vw, 12px);
    max-width: 100%;
    background: #2b2b2b;
}
.employment p {
    font-size: clamp(8px, 3.5vw, 12px);
    color: #f5f5f5;
    text-align: center;
}
.specialist {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    padding: clamp(6px, 2vw, 12px);
    max-width: 100%;
}
.specialist p {
    font-size: clamp(8px, 3.5vw, 12px);
    color: #2b2b2b;
    text-align: center;
}

.career-content-button {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  width: 100%;
}
.career-content-button-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5px, 3vw, 11px);
  max-width: 100%;
  width: 100%;
  
}
.career-content-button-text span {
  font-family: var(--second-family);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #111;
  text-align: center;
}
.career-content-button-text::before,
.career-content-button-text::after,
.career-content-button-text > *::before,
.career-content-button-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #3855FF;
}
/* Левый верхний угол */
.career-content-button-text::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}
/* Правый верхний угол */
.career-content-button-text::after {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}
/* Левый нижний угол */
.career-content-button-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
/* Правый нижний угол */
.career-content-button-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}
}

/* Стили для career-vacancies-loader.js */

/* Состояние загрузки */
.career-loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: #718096;
}

.loading-content {
    text-align: center;
}

.loading-icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loading-text {
    font-size: 18px;
    margin: 0;
}

/* Состояние ошибки */
.career-error-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: #e53e3e;
}

.error-content {
    text-align: center;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.error-title {
    font-size: 18px;
    margin: 0 0 20px 0;
}

.retry-button {
    background: #3855FF;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.retry-button:hover {
    background: #2a3eb1;
}

/* Пустое состояние */
.career-empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: #718096;
}

.empty-content {
    text-align: center;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-title {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.empty-subtitle {
    font-size: 14px;
    margin: 0;
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .career-loading-state,
    .career-error-state,
    .career-empty-state {
        padding: 40px 20px;
    }
    
    .loading-icon,
    .error-icon,
    .empty-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .loading-text,
    .error-title,
    .empty-title {
        font-size: 16px;
    }
    
    .empty-subtitle {
        font-size: 12px;
    }
    
    .retry-button {
        padding: 10px 20px;
        font-size: 12px;
    }
}
/* contact-form-section */

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1512px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px 161px;
}
.contact-form-title {
  display: flex;
  justify-content: center;
  max-width: 974px;
  width: 100%;
  margin: 0 auto 38px;
}
.contact-form-title h2 {
font-weight: 900;
color: #2b2b2b;
}
.contact-form-discriptions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 31px;
  max-width: 550px;
  width: 100%;
  margin-left: auto;
}
.contact-form-discriptions p {
  font-weight: 700;
  color: #3855ff;
  
}
.form-container {
  max-width: 1155px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
        
.about-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0 27px;
    max-width: 1155px;
    width: 100%;
    margin: 0 auto;
}
        
.about-form-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}
        
.about-input-group {
    display: flex;
    flex-direction: column;
    position: relative;
}
.about-input-group:nth-child(1) {
    margin-bottom: 27px;
}       
.about-input-label {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 94%;
  text-transform: uppercase;
  color: #2b2b2b;
  position: absolute;
  left: 0;
  bottom: 18px;
  transform: translateY(-50%);
  transition: all 0.3s;
  pointer-events: none;
}
.file-upload-title {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 94%;
  text-transform: uppercase;
  color: #2b2b2b;
  transition: all 0.3s;
  pointer-events: none;
  position: relative;
  margin-bottom: 18px;
}
    
.required::after {
    content: "*";
    color: #2b2b2b ;
    margin-left: 3px;
}     
.about-form-input {
    max-width: 367px;
    width: 100%;
    min-height: 37px;
    height: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #3855ff;
    outline: none;
    padding: 10px 0;
    font-size: 16px;
    color: #2b2b2b;
    transition: border-color 0.3s;
}
        
.about-form-input:focus {
    border-color: #2a3eb1;
}


.about-form-input:focus + .about-input-label,
.about-form-input:not(:placeholder-shown) + .about-input-label,
.about-form-input:focus + .required::after {
    top: -12px;
    font-size: 12px;
    color: #3855ff;
    transform: translateY(0);
}

.about-form-input::placeholder {
    color: transparent;
}        
.about-submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3855ff;
  border: none;
  padding: 6px 7px;
  cursor: pointer;
  transition: background-color 0.3s;
  max-width: 367px;
  width: 100%;
  margin-top: 47px;
}
.about-submit-btn-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 353px;
  width: 100%;
  padding: 11px 0
}
.about-submit-btn-text span {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 25px;
  line-height: 120%;
  text-transform: uppercase;
  color: #f5f5f5;
}
.about-submit-btn-text::before,
.about-submit-btn-text::after,
.about-submit-btn-text > *::before,
.about-submit-btn-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #f5f5f5;
}
/* Левый верхний угол */
.about-submit-btn-text::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}
/* Правый верхний угол */
.about-submit-btn-text::after {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}
/* Левый нижний угол */
.about-submit-btn-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
/* Правый нижний угол */
.about-submit-btn-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}      
.about-submit-btn:hover {
    background-color: #2a3eb1;
}
.about-input-container {
            width: 100%;
            max-width: 600px;
        }
        
        .file-upload {
          padding: 12px 0;
            position: relative;
            max-width: 367px;
            width: 100%;
            border: 1px dashed #9e9e9e;
            border-radius: 9px;
            background: rgba(35, 35, 35, 0.11);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            overflow: hidden;
        }
        .upload-icon-block {
          display: flex;
          justify-content: center;
          align-items: center;
          background: rgba(89, 84, 76, 0.1);
          border-radius: 28px;
          padding: 9px 0;
          max-width: 52px;
          width: 100%;
          cursor: pointer;
          margin-bottom: 10px;
        }
        .upload-icon-block img {
          max-width: 100%;
        }
        .file-upload-text {
            max-width: 80%;
            line-height: 1.4;
        }
        .file-upload-text p {
          font-weight: 700;
          font-size: 16px;
          line-height: 100%;
          letter-spacing: -0.03em;
          text-align: center;
          color: #59544c;
        }
        .file-upload input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }
        
        /* Когда файлы выбраны, изменяем стиль */
        .file-upload.has-files {
            border-color: #3855ff;
        }
        
        /* Список выбранных файлов */
        .selected-files {
            margin-top: 15px;
            font-size: 14px;
        }
        
        .selected-files p {
            margin: 5px 0;
            color: #2b2b2b;
        }

@media (max-width: 769px) {

  .contact-form-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 390px;
  width: 100%;
  margin: 0 auto 83px;
  padding: 0 30px;
}
.contact-form-title {
  display: flex;
  justify-content: center;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 11px;
}
.contact-form-title h2 {
font-weight: 900;
font-size: 40px;
color: #2b2b2b;
}
.contact-form-discriptions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-bottom: 25px;
  max-width: 213px;
  width: 100%;
  margin-left: auto;
}
.contact-form-discriptions p {
  font-weight: 700;
  font-size: 9px;
  color: #3855ff;
}
.form-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
        
.about-input-group {
    display: flex;
    flex-direction: column;
    position: relative;
}
.about-input-group:nth-child(1) {
    margin-bottom: 27px;
}

.about-input-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}        
.about-input-label {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 94%;
  text-transform: uppercase;
  color: #2b2b2b;
  position: absolute;
  left: 0;
  bottom: 15px;
  transform: translateY(-50%);
  transition: all 0.3s;
  pointer-events: none;
}
.file-upload-title {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 94%;
  text-transform: uppercase;
  color: #2b2b2b;
  transition: all 0.3s;
  pointer-events: none;
  position: relative;
  margin-bottom: 18px;
}
    
.required::after {
    content: "*";
    color: #2b2b2b ;
    margin-left: 3px;
}     
.about-form-input {
    max-width: 100%;
    width: 100%;
    min-height: 37px;
    height: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #3855ff;
    outline: none;
    padding: 10px 0;
    font-size: 16px;
    color: #2b2b2b;
    transition: border-color 0.3s;
}
        
.about-form-input:focus {
    border-color: #2a3eb1;
}

.about-form-input:focus + .about-input-label,
.about-form-input:not(:placeholder-shown) + .about-input-label,
.about-form-input:focus + .required::after {
    top: -12px;
    font-size: 12px;
    color: #3855ff;
    transform: translateY(0);
}

.about-form-input::placeholder {
    color: transparent;
}        
.about-submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3855ff;
  border: none;
  padding: 6px 7px;
  cursor: pointer;
  transition: background-color 0.3s;
  max-width: 100%;
  width: 100%;
}
.about-submit-btn-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  width: 100%;
  padding: 10px 0
}
.about-submit-btn-text span {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 30px;
  line-height: 120%;
  text-transform: uppercase;
  color: #f5f5f5;
}
.about-submit-btn-text::before,
.about-submit-btn-text::after,
.about-submit-btn-text > *::before,
.about-submit-btn-text > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #f5f5f5;
}
/* Левый верхний угол */
.about-submit-btn-text::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}
/* Правый верхний угол */
.about-submit-btn-text::after {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}
/* Левый нижний угол */
.about-submit-btn-text > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
/* Правый нижний угол */
.about-submit-btn-text > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}      
.about-submit-btn:hover {
  color: inherit;
  transform: none;
  background-color: transparent;
  text-decoration: none;
}
        
.file-upload {
    padding: 12px 0;
    position: relative;
    max-width: 367px;
    width: 100%;
    border: 1px dashed #9e9e9e;
    border-radius: 9px;
    background: rgba(35, 35, 35, 0.11);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}
.upload-icon-block {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(89, 84, 76, 0.1);
  border-radius: 28px;
  padding: 9px 0;
  max-width: 52px;
  width: 100%;
  cursor: pointer;
  margin-bottom: 10px;
}
.upload-icon-block img {
  max-width: 100%;
}
.file-upload-text {
  max-width: 80%;
  line-height: 1.4;
}
.file-upload-text p {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #59544c;
}
.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
        
        /* Когда файлы выбраны, изменяем стиль */
        .file-upload.has-files {
            border-color: #3855ff;
        }
        
        /* Список выбранных файлов */
        .selected-files {
            margin-top: 15px;
            font-size: 14px;
        }
        
        .selected-files p {
            margin: 5px 0;
            color: #2b2b2b;
        }

.about-form-grid {
                display: grid;
                grid-template-areas:
                    "fullname"
                    "email"  
                    "phone"
                    "file"
                    "button";
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .about-form-column:nth-child(1) .about-input-group:nth-child(1) {
                grid-area: fullname;
            }

            .about-form-column:nth-child(2) .about-input-group {
                grid-area: email;
            }

            .about-form-column:nth-child(3) .about-input-group {
                grid-area: phone;
            }

            .about-form-column:nth-child(1) .about-input-group:nth-child(2) {
                grid-area: file;
            }

            .about-form-column:nth-child(2) .about-submit-btn {
                grid-area: button;
            }

            .about-form-column {
                display: contents;
            }

}
