@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic&display=swap');

/* =============================================
   XTAXI ERP — Case Page
   ============================================= */

/* --- Hero --- */

.xtaxi-page {
    font-family: 'Montserrat';
    color: #000;
}

.xtaxi-hero {

    aspect-ratio: 1980 / 1400;
    overflow: hidden;
    background-color: #ffdc8d;
    .container {
        height: 100%;
    }
}

.xtaxi-hero__wrap {
    display: flex;
    height: 100%;
}

/* LEFT */
.xtaxi-hero__left {
    position: relative;
    width: 45%;
    background: #FFDC8D;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.xtaxi-hero__logo {
    margin-bottom: 36px;
}

.xtaxi-hero__logo img {
    width: 200px;
    height: auto;
}

.xtaxi-hero__title {
    font-size: 60px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.10;
    margin: 0 0 20px 0;
    max-width: 700px;
}

.xtaxi-hero__subtitle {
    font-size: 40px;
    font-weight: 400;
    color: #3A3A3A;
    line-height: 1;
    margin: 0 0 55px 0;
    max-width: 700px;
}

/* Features grid */
.xtaxi-hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
    max-width: 700px;
}

.xtaxi-hero__feature {
    font-size: 21px;
    text-align: center;
    font-weight: 400;
    color: #1A1A1A;
    padding: 12px 16px;
    border-radius: 28px;
    background-color: rgba(255, 255, 255, 0.19);
    white-space: nowrap;
}

/* Tags row */
.xtaxi-hero__tags {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 500;
    color: #1A1A1A;
    margin-top: auto;
}

.xtaxi-hero__tags .dot {
    opacity: 1;
}

/* Taxi car — absolute at bottom-left */
.xtaxi-hero__car {
    position: absolute;
    bottom: 8%;
    left: -5%;
    pointer-events: none;
    user-select: none;
}

/* RIGHT */
.xtaxi-hero__right {
    max-width: 55%;
    width: 100%;
    position: relative;
}

/* Large image — spans both rows */
.xtaxi-hero__img-large {
    width: 100%;
    object-fit: cover;
    object-position: top left;
    border-radius: 33px;

    position: absolute;
    bottom: 0;
}

/* Small images — stacked right column */
.xtaxi-hero__img-small {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

/* =============================================
   АДАПТИВ
   ============================================= */
@media (max-width: 1200px) {
    .xtaxi-hero__title {
        font-size: 34px;
    }
    .xtaxi-hero__left {
        padding: 48px 40px 0 40px;
    }
    .xtaxi-hero__car {
        width: 460px;
    }
    .xtaxi-hero__right {
        grid-template-columns: 1fr 160px;
    }
}

@media (max-width: 900px) {
    .xtaxi-hero {
        flex-direction: column;
    }
    .xtaxi-hero__left,
    .xtaxi-hero__right {
        width: 100%;
    }
    .xtaxi-hero__left {
        padding: 40px 24px 280px 24px;
    }
    .xtaxi-hero__car {
        width: 380px;
        left: 50%;
        transform: translateX(-50%);
    }
    .xtaxi-hero__right {
        padding: 32px 24px;
        grid-template-rows: auto auto;
        min-height: 60vw;
    }
    .xtaxi-hero__img-large {
        height: 300px;
    }
    .xtaxi-hero__img-small {
    }
}

@media (max-width: 600px) {
    .xtaxi-hero__title {
        font-size: 26px;
    }
    .xtaxi-hero__subtitle {
        font-size: 15px;
    }
    .xtaxi-hero__features {
        grid-template-columns: 1fr;
    }
    .xtaxi-hero__car {
        width: 300px;
    }
    .xtaxi-hero__right {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .xtaxi-hero__img-large {
        grid-column: 1 / 2;
    }
    .xtaxi-hero__img-small {
        grid-column: 1 / 2;
        grid-row: auto;
        height: 180px;
    }
}


/* секция IDEA */

.idea {
    padding: 80px 0;
    background: #fff;
}

.idea .container {
    max-width: 1100px;
    margin: 0 auto;
}

.idea__top {
    display: flex;
    gap: 40px;
    align-items: end;
    margin-bottom: 50px;
}

.idea__logo img {
    max-width: 280px;
}

.idea__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #000;
}

.xtaxi-title {
   font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #000;
}


.idea__top p {
    color: #000;
    line-height: 1;
    font-size: 24px;
}

.idea__block {
    background: #a8bbdd87;
    padding: 25px 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.idea__block h3 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #000;
}

.idea__block p {
    font-size: 24px;
    color: #000;
    line-height: 1;
}

.idea__solution-img {
    margin-top: 20px;
}

.idea__solution-img img {
    max-width: 120px;
}

.idea__arrow {
    text-align: center;
    margin: 10px 0 60px;
}

.idea__created-title {
    text-align: center;
    font-size: 40px;
    color: #000;
    margin-bottom: 40px;
}

.idea__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 90px;
}

.idea__item {
    background: rgba(238, 238, 238, 1);
    border-radius: 20px;
    padding: 25px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.idea__item img {
    margin-bottom: 10px;
}

.idea__item p {
    font-size: 18px;
    color: #000;
}

.idea__system-title {
    font-size: 24px;
    margin-bottom: 50px;
}

.idea__logic {
    border-radius: 60px;
    padding: 30px 60px 30px 10px;
    border: 5px solid rgba(168, 187, 221, 0.53);
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    p {
        font-size: 24px;
        line-height: 1;
    }
}


.idea__system {
}
.idea__system-cards {
}
.system-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 30px;
}
.system-card {
    display: flex;
    align-items: center;
    background-color: #EEEEEE;
    border-radius: 24px;
    padding: 50px;
    justify-content: space-between;
    p {
        font-size: 24px;
    }
}

/* end секция IDEA */



/* end секция features */

.xtaxi-features {
    padding: 80px 0;
    background: #fff;
    color: #000;
}

.xtaxi-features .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* TOP */
.xtaxi-features__top {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.xtaxi-features__num {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    row-gap: 90px;
    column-gap: 90px;
}
.num-features {
}
.num-features__item {
}
.num-features__figure {
    font-size: 96px;
    font-weight: 600;
    line-height: 100%;
    margin-bottom: 40px;
    span {
        font-size: 48px;
        font-weight: 600;
        line-height: 100%;
    }
}
.num-features__text {
    font-size: 24px;
}

.xtaxi-features__phones img {
}

.xtaxi-features__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 120px;
}

.xtaxi-features__card {
    background: #d9d9d9;
    color: #222;
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 100px;
}

.xtaxi-features__card img {
    width: 120px;
}

.xtaxi-features__card p {
    font-size: 24px;
    line-height: 1.25;
}

/* STEPS */
.xtaxi-features__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.xtaxi-features__step {
    border: 5px solid rgba(168, 187, 221, 0.53);
    border-radius: 57px;
    display: flex;
    align-items: center;
    padding: 30px 60px;
    .num {
        font-size: 128px;
        line-height: 100%;
        font-weight: 700;
        color: #cfd6e6;
        max-width: 92px;
        width: 100%;

    }
}


.xtaxi-features__title {
    margin-bottom: 40px;
}

/* end секция features */





.stage {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
}
.stage__body {
  width: fit-content;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-right: 60px;
  position: relative;
}
.stage__body::before {
  content: "";
  position: absolute;
  height: 98px;
  left: 100%;
  top: 0px;
  width: 3px;
  background-color: rgba(134, 132, 132, 1);;
}
.stage__num {
  color: rgba(134, 132, 132, 1);
  font-family: "Lato", sans-serif;
  font-size: 96px;
  font-weight: 600;
  line-height: 100%;
}

.stage__title {
  color: rgba(0, 0, 0, 1);
  font-family: "Lato", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 100%;
  margin-left: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
}
.stage__title span {
  flex-shrink: 0;
}
@media (max-width: 1300px){
  .stage__title span{
    display: none;
  }
}


.phase {
    background-color: #fff;
}

.phase__wrap {
    position: relative;
    display: flex;
    margin-bottom: 100px;
    .text {
        max-width: 50%;
        font-size: 24px;
        line-height: 125%;
    }
    img {
        position: absolute;
        bottom: 50%;
        right: 0;
        transform: translateY(50%);
    }
}

.phase__text {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 60px;
}


.stage__title span {
    flex-shrink: 1;
    content: "";
    width: 52px;
    height: 3.2px; /* Высота линии */
    background: repeating-linear-gradient(
        to right,
        rgba(206, 200, 200, 1) 0,
        rgba(206, 200, 200, 1) 10px, /* Длина отрезка */
        transparent 10px,
        transparent 12px /* Промежуток */
    );
    margin: auto 0; /* Центрирование по вертикали */
    transform: translateY(3px);
}


.prototypes {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
    margin-bottom: 80px;
}
.prototype__card {
    border-radius: 24px;
    text-align: center;
    aspect-ratio: 1 / 1;
    background-color: #EEEEEE;
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.prototype__card--text {
    font-size: 24px;
    font-weight: 600;
    line-height: 125%;
    max-width: 80%;
}