/* Стили для АИ рекрутинга */
/* Первая секция */
.section.ai-first {
  min-height: 100vh;
  position: relative;
  background-image: url(../images/fp_images/back_img2.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

.ai-first .newdiz-container_section {
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  margin: 150px 0 0 0;
}

.ai-first .ai-first__inner {
  flex-direction: column;
  width: 100%;
  text-align: center;
  height: 100%;
}

.ai-first .line_first {
  height: 1.5px;
  background-color: white;
  margin: 75px auto 0;
  width: 90%;
}

.ai-first .line_second {
  height: 1.5px;
  background-color: white;
  margin: 40px auto 0;
  width: 90%;
}

.ai-first .header-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 0 0 20px;
  text-align: center;
}

.ai-first .header-line h1 {
  color: white;
  font-size: 3.5vmin;
  font-weight: 300;
  margin: 0;
  /* min-font-size: 20px; */
  white-space: nowrap;
}

.ai-first .header-line p {
  color: white;
  font-size: 3.5vmin;
  font-weight: 300;
  margin: 0;
  /* min-font-size: 20px; */
  white-space: nowrap;
}

.ai-first .first {
  text-align: center;
  color: white;
  font-size: 9vmin;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0 0 10px;
  /* min-font-size: 55px; */
}

/* слова с дефисом (HR-эксперт, AI-рекрутер...) переносить целиком, не по дефису - на всей странице */
.newdiz-nowrap-text {
  white-space: nowrap;
}

.ai-first .second {
  text-align: center;
  color: white;
  font-size: 9vmin;
  font-weight: 300;
  margin: 0 0 30px;
  /* min-font-size: 20px; */
}

.ai-first .ai-first__inner > div:last-of-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto 40px;
  padding: 0 70px;
}

.ai-first .ai-first__startpack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 315px;
}

.ai-first .ai-first__startpack-logo img {
  max-height: 50px;
  width: auto;
}

.ai-first .ai-first__startpack-reviews {
  margin-left: 20px;
}

.ai-first .newdiz-hrmsystem__btn {
  text-align: right;
}

.ai-first .newdiz-hrmsystem__btn p {
  color: white;
  margin: 0 0 10px;
  font-size: 12px;
  /* min-font-size: 12px; */
}

.ai-first .newdiz-hrmsystem__btn a {
  font-size: 16px;
  background: #ded09f;
  color: white;
  text-transform: none;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.3s ease;
  /* min-font-size: 18px; */
  width: 100%;
  display: flex;
  justify-content: center;
}

.ai-first .newdiz-hrmsystem__btn a:hover {
  background: #c9b58a;
  color: #2e3238;
}

.ai-first .newdiz-hrmsystem__btn a:hover .demo-arrow {
  transform: translateX(2px);
}

.ai-first .newdiz-hrmsystem__btn a:hover .demo-arrow path {
  stroke: #2e3238;
}

.ai-first .demo-arrow {
  transition: transform 0.3s ease;
  margin-right: 8px;
}

.ai-first .newdiz-header-fixed {
  position: fixed !important;
  background: white;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ai-first .ai-first__inner {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
}

.ai-first .ai-first__startpack-reviews-star span {
  color: #dacc99;
  font-size: 25px;
}

.ai-first .ai-first__startpack-reviews-num p {
  color: #dacc99;
  font-family: 'Montserrat Regular';
  font-size: 17px;
}

/* Вторая секция */
.ai-second {
  min-height: 100vh;
  padding: clamp(20px, 5vw, 40px) 0;
  background: linear-gradient(
    to right,
    rgba(211, 211, 211, 0.7),
    rgba(255, 248, 220, 0.7)
  );
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
}

.ai-second .ai-second-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
}

.ai-second .ai-second-title {
  text-align: left;
  margin-bottom: clamp(10px, 4vw, 20px);
}

.ai-second .ai-second-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  line-height: 1.3;
  color: #333;
  margin: 0;
  white-space: pre-line;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.ai-second .ai-second-inner {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.ai-second .feature-main {
  background: #e6e6e6;
  padding: clamp(10px, 3vw, 15px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.ai-second .feature-main h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: bold;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.ai-second .feature-main p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: #555;
  margin: 0 0 15px 0;
}

.ai-second .feature-main img {
  margin: 0 auto;
  width: 50%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.ai-second .feature-main a {
  align-self: flex-start;
  padding: clamp(10px, 2vw, 15px) clamp(20px, 3vw, 30px);
  background: #212327;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: clamp(14px, 2vw, 16px);
  cursor: pointer;
  transition: background 0.3s;
  align-self: center;
}

.ai-second .features-small {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(15px, 3vw, 25px);
}

.ai-second .feature-small {
  background: #e6e6e6;
  padding: clamp(15px, 2.5vw, 25px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  justify-content: space-between;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.ai-second .feature-small:nth-child(1) {
  transition-delay: 0.1s;
}

.ai-second .feature-small:nth-child(2) {
  transition-delay: 0.2s;
}

.ai-second .feature-small:nth-child(3) {
  transition-delay: 0.3s;
}

.ai-second .feature-small:nth-child(4) {
  transition-delay: 0.4s;
}

.ai-second .feature-small h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: bold;
  color: #dacc99;
  margin: 0 0 10px 0;
  line-height: 1.3;
  text-align: center;
}

.ai-second .feature-small p {
  font-size: clamp(12px, 1.8vw, 15px);
  line-height: 1.5;
  color: #555;
  margin: 0 0 15px 0;
  text-align: left;
}

.ai-second .feature-small p.feature-ps {
  font-size: clamp(10px, 1.8vw, 12px);
  line-height: 1.5;
  color: #555;
  margin: 0 0 15px 0;
  text-align: center;
}



.ai-second .animate-in {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Третья секция */
.ai-third {
  min-height: 100vh;
  padding: clamp(20px, 5vw, 40px) 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  position: relative;
  overflow: hidden;
}

.ai-third .bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #212327;
  z-index: -1;
  transition: width 1s ease;
}

.ai-third.animate .bg-animation {
  width: 100%;
}

.ai-third .ai-third-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.ai-third .ai-third-title {
  text-align: center;
  margin-bottom: clamp(10px, 4vw, 20px);
}

.ai-third .ai-third-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  white-space: pre-line;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.ai-third .ai-third-title.animate h2 {
  opacity: 1;
  transform: translateY(0);
}

.ai-third .ai-third-desc {
  margin-bottom: clamp(20px, 4vw, 30px);
}

.ai-third .ai-third-desc p {
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.ai-third .ai-third-desc.animate p {
  opacity: 1;
  transform: translateY(0);
}

.ai-third .ai-third-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: stretch;
}

.ai-third .ai-third-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ai-third .ai-third-part {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(15px, 3vw, 25px);
  background: #2e3238;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin-bottom: 15px;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity;
}

.ai-third .ai-third-inner.animate .ai-third-part {
  opacity: 1;
}

.ai-third .ai-third-part:last-child {
  margin-bottom: 0;
}

.ai-third .ai-third-part h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: bold;
  color: #dacc99;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.ai-third .ai-third-part p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.ai-third .ai-third-part p:last-child {
  margin-bottom: 0;
}

.ai-third .ai-third-part div[style*='display: flex'] {
  justify-content: center;
}

.ai-third .ai-third-part img {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.ai-third .ai-third-ps {
  display: flex;
  gap: 30px;
  color: white;
  width: 100%;
  align-items: center;
  margin-top: clamp(20px, 4vw, 30px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.ai-third .ai-third-ps.animate {
  opacity: 1;
  transform: translateY(0);
}

.ai-third .ai-third-ps_img {
  flex: 0 0 15%;
}

.ai-third .ai-third-ps_img img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-third .ai-third-ps_desc {
  flex: 1;
  text-align: left;
}

.ai-third .ai-third-ps_desc h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.ai-third .ai-third-ps_desc p {
  margin-bottom: 15px;
}

.ai-third .color-beige {
  color: beige;
}

/* Четвертая секция */
.ai-fourth {
  min-height: 100vh;
  padding: clamp(20px, 5vw, 40px) 0;
  background: linear-gradient(
    to right,
    rgba(211, 211, 211, 0.7),
    rgba(255, 248, 220, 0.7)
  );
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
}

.ai-fourth .ai-fourth-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
}

.ai-fourth .ai-fourth-title {
  text-align: left;
  margin-bottom: clamp(10px, 4vw, 20px);
}

.ai-fourth .ai-fourth-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  line-height: 1.3;
  color: #333;
  margin: 0;
  white-space: pre-line;
}

.ai-fourth .ai-fourth-inner {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.ai-fourth .feature-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
  gap: 15px;
}

.ai-fourth .main-wrapper {
  background: #e6e6e6;
  padding: clamp(10px, 3vw, 15px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.ai-fourth .ai-fourth__btn {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
}

.ai-fourth .feature-main h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: bold;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.ai-fourth .feature-main p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: #555;
  margin: 0 0 15px 0;
}

.ai-fourth .feature-main img {
  margin: 0 auto;
  width: 50%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.ai-fourth .feature-main a {
  padding: clamp(10px, 2vw, 15px) clamp(20px, 3vw, 30px);
  background: #dacc99;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: clamp(14px, 2vw, 16px);
  cursor: pointer;
  transition: background 0.3s;
  align-self: center;
  display: flex;
  gap: 10px;
  align-items: center;
}

.ai-fourth .ai-fourth__btn a:hover .demo-arrow {
  transform: translateX(2px);
}

.ai-fourth .demo-arrow {
  transition: transform 0.3s ease;
  margin-right: 8px;
}

.ai-fourth .features-small {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(15px, 3vw, 25px);
}

.ai-fourth .feature-small {
  background: #e6e6e6;
  padding: clamp(15px, 2.5vw, 25px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  justify-content: space-between;

  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.ai-fourth .feature-small:nth-child(1) {
  transition-delay: 0.1s;
}

.ai-fourth .feature-small:nth-child(2) {
  transition-delay: 0.2s;
}

.ai-fourth .feature-small:nth-child(3) {
  transition-delay: 0.3s;
}

.ai-fourth .feature-small:nth-child(4) {
  transition-delay: 0.4s;
}

.ai-fourth .feature-small h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: bold;
  color: #dacc99;
  margin: 0 0 10px 0;
  line-height: 1.3;
  text-align: center;
}

.ai-fourth .feature-small p {
  font-size: clamp(12px, 1.8vw, 15px);
  line-height: 1.5;
  color: #555;
  margin: 0 0 15px 0;
  text-align: left;
}

.ai-fourth .feature-small p.feature-ps {
  font-size: clamp(10px, 1.8vw, 12px);
  line-height: 1.5;
  color: #555;
  margin: 0 0 15px 0;
  text-align: center;
}

.ai-fourth .ai-fourth-title h2 {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.ai-fourth .animate-in {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.ai-fourth .feature-small img {
  width: 100%;
}

/* Пятая секция */
.ai-fifth {
  padding: clamp(20px, 5vw, 40px) 0 clamp(20px, 5vw, 50px);
  background-color: transparent;
  display: flex;
  font-family: 'Nunito', sans-serif;
  position: relative;
  overflow: hidden;
}

.ai-fifth .bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #212327;
  z-index: -1;
  transition: width 1s ease;
}

.ai-fifth.animate .bg-animation {
  width: 100%;
}

.ai-fifth .ai-fifth-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.ai-fifth .ai-fifth-title {
  text-align: center;
  margin-bottom: clamp(10px, 4vw, 35px);
}

.ai-fifth .ai-fifth-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  white-space: pre-line;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.ai-fifth .ai-fifth-title.animate h2 {
  opacity: 1;
  transform: translateY(0);
}

.ai-fifth .ai-fifth-desc {
  margin-bottom: clamp(20px, 4vw, 30px);
}

.ai-fifth .ai-fifth-desc p {
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.ai-fifth .ai-fifth-desc.animate p {
  opacity: 1;
  transform: translateY(0);
}

.ai-fifth .ai-fifth-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: stretch;
}

.ai-fifth .ai-fifth-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ai-fifth .ai-fifth-part {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(15px, 3vw, 25px);
  background: #2e3238;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin-bottom: 15px;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity;
}

.ai-fifth .ai-fifth-inner.animate .ai-fifth-part {
  opacity: 1;
}

.ai-fifth .ai-fifth-part:last-child {
  margin-bottom: 0;
}

.ai-fifth .ai-fifth-part h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: bold;
  color: #dacc99;
  margin: 0 0 35px 0;
  line-height: 1.3;
  text-align: center;
}

.ai-fifth .ai-fifth-part p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.ai-fifth .ai-fifth-part .part-ps {
  font-size: clamp(14px, 2vw, 16px);
  margin: 35px 0 10px 0;
  line-height: 1.3;
  text-align: left;
}

.ai-fifth .ai-fifth-part p:last-child {
  margin-bottom: 0;
}

.ai-fifth .ai-fifth-part div[style*='display: flex'] {
  justify-content: center;
}

.ai-fifth .ai-fifth-part img {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.ai-fifth .ai-fifth-ps {
  display: flex;
  gap: 30px;
  color: white;
  width: 100%;
  align-items: center;
  margin-top: clamp(20px, 4vw, 30px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.ai-fifth .ai-fifth-ps.animate {
  opacity: 1;
  transform: translateY(0);
}

.ai-fifth .ai-fifth-ps_img {
  flex: 0 0 15%;
}

.ai-fifth .ai-fifth-ps_img img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-fifth .ai-fifth-ps_desc {
  flex: 1;
  text-align: left;
}

.ai-fifth .ai-fifth-ps_desc h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.ai-fifth .ai-fifth-ps_desc p {
  margin-bottom: 15px;
}

.ai-fifth .color-beige {
  color: beige;
}

.ai-fifth .part-wrapper {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.ai-fifth .part-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.ai-fifth .part-item-desc {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ai-fifth .first,
.ai-fifth .second,
.ai-fifth .third {
  padding: 5px;
}

.ai-fifth .part-item .first {
  border: 1px solid #dacc99;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
}

.ai-fifth .part-item .second {
  color: #dacc99;
  font-weight: 600;
  font-size: 18px;
}

.ai-fifth .part-item .third {
  font-size: 24px;
}

/* Шестая секция */
.newdiz_request {
  background-image: url(../images/fp_images/title_1.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  /* padding: clamp(20px, 5vw, 40px) 0; */
  background-color: transparent;
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  position: relative;
  /* overflow: hidden; */
}

.newdiz_request .newdiz_request-wrapper {
  padding: 0 clamp(20px, 5vw, 70px);
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(50px, 10vh, 100px);
  padding-bottom: clamp(50px, 10vh, 100px);
}

.newdiz_request .newdiz_request-title {
  text-align: center;
  margin-bottom: clamp(50px, 10vw, 100px);
}

.newdiz_request .newdiz_request-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.newdiz_request .newdiz_request-description {
  text-align: center;
  margin-bottom: clamp(20px, 4vw, 40px);
  display: flex;
  justify-content: space-around;
  color: #ffffff;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.newdiz_request .newdiz_request-description p {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
  font-style: italic;
}

.newdiz_request .description-btn a {
  font-size: 16px;
  background: #ded09f;
  color: white;
  text-transform: none;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.3s ease;
  /* min-font-size: 18px; */
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newdiz_request .description-btn a:hover {
  background: #c9b58a;
  color: #2e3238;
}

.newdiz_request .description-btn a:hover .demo-arrow {
  transform: translateX(2px);
}

.newdiz_request .description-btn a:hover .demo-arrow path {
  stroke: #2e3238;
}

.newdiz_request .animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0s !important;
}

/* ===== Планшет и телефон (03.11.2026; у team страница была только под компьютер - на 375 ширина документа 551px) ===== */

@media (max-width: 1200px) {
  .ai-third .ai-third-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  /* первый экран */
  .section.ai-first,
  .newdiz_request {
    background-attachment: scroll;
  }

  .ai-first .newdiz-container_section {
    height: auto;
    min-height: calc(100vh - 100px);
    margin: 100px 0 0 0;
    padding: 30px 20px;
  }

  .ai-first .header-line {
    flex-wrap: wrap;
  }

  .ai-first .header-line h1,
  .ai-first .header-line p {
    font-size: clamp(16px, 2.6vw, 22px);
    white-space: normal;
  }

  /* заголовок - два абзаца (.first и .second): один размер, без промежутка между строками */
  .ai-first .first,
  .ai-first .second {
    font-size: clamp(30px, 6vw, 48px);
    line-height: 1.25;
    margin: 0;
  }

  .ai-first .second {
    margin: 0 0 30px;
  }

  /* gap: 40px контейнера разрывал заголовок на две части - расстояния отступами */
  .ai-first .ai-first__inner {
    gap: 0;
  }

  .ai-first .ai-first__inner > div:last-of-type {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0 auto 20px;
  }

  .ai-first .ai-first__startpack {
    width: 100%;
    max-width: 315px;
    justify-content: center;
  }

  .ai-first .ai-first__startpack-reviews {
    white-space: nowrap;
  }

  .ai-first .newdiz-hrmsystem__btn {
    text-align: center;
    width: 100%;
  }

  /* блоки по высоте содержимого, сетки - в одну колонку */
  .ai-second,
  .ai-third,
  .ai-fourth,
  .newdiz_request {
    min-height: auto;
  }

  .ai-second .ai-second-inner,
  .ai-third .ai-third-inner,
  .ai-fourth .ai-fourth-inner,
  .ai-fourth .ai-fourth__btn {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ai-third .ai-third-ps,
  .ai-fifth .ai-fifth-ps {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .ai-third .ai-third-ps_img,
  .ai-fifth .ai-fifth-ps_img {
    flex: 0 0 auto;
    width: 120px;
  }

  .ai-fourth .feature-small p {
    font-size: 15px;
  }

  /* заявка */
  .newdiz_request .newdiz_request-description {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .ai-first .newdiz-container_section {
    margin: 70px 0 0 0;
    padding: 20px 15px;
  }

  .ai-second .ai-second-wrapper,
  .ai-third .ai-third-wrapper,
  .ai-fourth .ai-fourth-wrapper,
  .ai-fifth .ai-fifth-wrapper {
    padding: 0 15px;
  }

  .ai-third .ai-third-desc p,
  .ai-fifth .ai-fifth-desc p {
    font-size: 17px;
  }

  /* таблица цен: строка заголовков, под ней по строке на пакет (на компьютере - 7 колонок в ряд) */
  .ai-fifth .part-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .ai-fifth .part-item-desc,
  .ai-fifth .part-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .ai-fifth .part-item-desc p {
    font-size: 13px;
    margin: 0;
  }

  .ai-fifth .part-item p {
    margin: 0;
  }

  .ai-fifth .part-item .third {
    font-size: 20px;
  }

  .ai-fifth .part-item-desc br,
  .ai-fifth .ai-fifth-title h2 br {
    display: none;
  }

  .newdiz_request .newdiz_request-title {
    margin-bottom: 30px;
  }
}

@media (max-width: 360px) {
  /* узкий телефон (320): звёзды и отзывы Startpack - в одну строку */
  .ai-first .ai-first__startpack-logo img {
    max-height: 36px;
  }

  .ai-first .ai-first__startpack-reviews {
    margin-left: 12px;
  }

  .ai-first .ai-first__startpack-reviews-star span {
    font-size: 20px;
  }

  .ai-first .ai-first__startpack-reviews-num p {
    font-size: 15px;
  }
}
