footer{
  border-top: #000 1px solid;
}

.hero{
  margin-top: 4rem;
  height: 95vh;
  background: url(../public/hero_img.jpg) no-repeat center ;
  background-size: cover;
  position: relative;
  background-clip: border-box;
  padding-top: 20rem;
}

.title{
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.about_label {
  position: absolute;
  transform: rotate(-90deg);
  text-transform: uppercase;
  font-size: 1.7rem;
  color: #999;
  letter-spacing: 0.2em;
  margin-top: 16rem;
  margin-left: 5rem;
}

.about_visual img{
  object-fit: cover;
  clip-path: polygon(25% 10%, 100% 10%, 75% 95%, 0% 95%);
}

.about_text{
  margin-top: 9rem;
}
  .why-choose-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 2rem;
}
.why-choose__top {
  display: contents; /* использовать элементы напрямую в grid */
}

.why-choose__top > div {
  grid-column: 1 / 2; /* занимает 1 колонну */
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.why-choose__top h2 {
  grid-column: 2 / 4; /* занимает 2 колонки */
  font-size: 5.5rem;
  line-height: 1.2;
  font-weight: 600;
  align-self: center;
  margin: 0;
}

.why-choose__top h2 span {
  color: #999;
  font-weight: 600;
}
.w_card {
  background: #eee;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.card__number {
  left: 1rem;
  padding: 0.8rem;
  width: 1.6rem;
  font-weight: bold;
  font-size: 1.4rem;
}

.card__image img {
  max-width: 80px;
  margin: 2rem auto 1rem;
  display: block;
}
.why-choose__cards {
  grid-column: 1 / 4; /* все 3 колонки */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.services {
  padding: 4rem 1rem;
}
.red {
  color: rgb(229, 83, 83);
}
.services__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.services__left {
  flex: 1 1 40ch;
}

.services__right {
  flex: 1 1 40ch;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.services__left h2 {
  font-size: 3rem;
  line-height: 1.2;
}

.image-title {
  display: inline-flex;
  align-items: center;
  gap: 10rem;
}

.image-title img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .services__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services__list {
    grid-template-columns: 1fr;
  }
}

.service-item {
  border-top: 1px solid #ccc;
  padding-top: 1.5rem;
}

.service-item .number {
  font-weight: bold;
  color: #999;
  margin-bottom: 0.5rem;
}

.service-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .services__top {
    flex-direction: column;
    text-align: center;
  }

  .services__left h2 {
    font-size: 2.5rem;
  }

  .image-title {
    justify-content: center;
  }
}

.workflow {
  padding: 60px 20px;
  background: #f9f9f9;
}

.workflow__container {
  display: grid;
  grid-template-columns: 2fr 5fr;
  gap: 2rem;
  align-items: flex-start;
}

.workflow__step span {
  font-size: 60px;
  font-weight: bold;
  color: #bbb;
}

.workflow__title {
  font-size: 3rem;
  line-height: 1.2;
  margin-top: 10px;
}

.workflow__slides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .workflow__slides {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .workflow__slides {
    grid-template-columns: 1fr;
  }
}

.workflow__slide.active {
  display: block;
  opacity: 1;
}
.workflow__slide p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.workflow__nav {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.workflow__nav button {
  padding: 10px 20px;
  background: #eee;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

@media (max-width: 768px) {
  .workflow__container {
    grid-template-columns: 1fr;
  }

  .workflow__step span {
    font-size: 40px;
  }

  .workflow__title {
    font-size: 22px;
  }
}
.text-image-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 6rem;
}
.text-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #111;
  max-width: 80%;
  border-top: #000 1px solid;
  padding: 2rem;
}

.image-box {
  margin-top: -5rem;
}

.text-box {
  display: flex;
  flex-direction: row;
}
.ml-2 {
  margin-left: 1rem;
}
.cicle {
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 100%;
  margin-top: 10px;
}
.otziv {
  background: #eee;
  border-radius: 1rem;
  padding: 1rem 2rem;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.text-ot-h1 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .text-image-container {
    grid-template-columns: 1fr;
  }

  .top-row {
    grid-template-columns: 1fr;
  }

  .bottom-row {
    grid-column: span 1;
  }

  .image-box {
    order: -1;
  }
}
.result-list {
  list-style: disc;
  padding-left: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.result-list li {
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.result-list span {
  color: #555;
  font-style: italic;
  display: block;
  margin-top: 5px;
}

.result-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

/* ///////////////////// */


@media (max-width: 1250px){
  .title{
    font-size: 2rem;
  }
  .hero{
    padding-top: 15rem;
  }
  .about_text{
  margin-top: 4rem;
}
}
@media (max-width: 1120px){
  .about_visual img{
  object-fit: cover;
  clip-path: none;
}
.about_text{
  margin-top: 0;
}
.about_label{
  display: none;
}
}

@media (max-width: 950px){
  .title{
    font-size: 1.5rem;
  }
  .subtitle{
    font-size: 1rem;
  }
  .container-about{
    display: grid;
    grid-template-columns:repeat(1,minmax(0,1fr))
  }
}

@media (max-width: 768px) {
  .hero{
    background: none;
  }
  .title{
    font-size: 2rem;
  }
  .subtitle{
    font-size: 1.2rem;
  }
  .about_visual img{
    width: 30rem;
    height: 30rem;
    margin: 0 auto;
  }
}

@media (max-width: 500px){
  .title{
    font-size: 1.7rem;
  }
  .subtitle{
    font-size: 1rem;
  }
}

@media (max-width: 433px){
  .title{
    font-size: 1.5rem;
  }
  .subtitle{
    font-size: 1rem;
  }
  .text-logo{
    white-space: nowrap;
  }
  
}