html {
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}

.mobile-nav,
.menu__close,
.footer__top-text--mob,
.mobile__phone-nav,
.mob__gallery,
.mob__header-content,
.mob__footer-phone,
.mob__phone,
.mob__gallary,
.mob-header__content-text2,
.register__header-btn--zamenashin,
.request__call-btn--zamenashin {
    display: none;
}
.menu__item-list--mob {
    display: none;
}
body {
    color: var(--primary-text-color);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
}
.container {
    max-width: 1230px;
    padding: 0 15px;
    margin: 0 auto;
}

.about {
    margin: 100px 0 120px;
}
.about__descr {
    width: 660px;
    margin-bottom: 70px;
}
.about__descr span {
    font-weight: 700;
}

.title {
    font-family: "Montserrat", sans-serif;
    font-size: 34px;
    text-align: left;
    line-height: 1.3;
    color: #212121;
    font-weight: 700;
    margin-bottom: 30px;
}

.about__achiev {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px 10px;
    margin-bottom: 70px;
}
.about__achiev-item {
    width: 280px;
    text-align: center;
}
#about__mob-tire {
    margin-bottom: 20px;
    width: 280px;
    height: 360px;
    object-fit: cover;
}
.about__mob-tire {
    margin-bottom: 20px;
}
.about__achiev-item h3 {
    font-size: 20px;
    font-weight: 500;
}
.about__text {
    text-align: center;
}
.services {
    margin-bottom: 150px;
}
summary {
    cursor: pointer;
    margin-top: 6px;
}
.services__achiev {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 80px 40px;
}
.services__achiev-item {
    max-width: 360px;
}
.services__mob-tire {
    display: block;
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
}

.services__achiev-item h3 {
    margin-bottom: 20px;
}
.read_more-indent {
    display: block;
    margin-top: 10px;
}

/* Mb menu Exp */
.menu__list {
    font-size: 16px;
    padding: 0;
    margin: 0;
}

.nav__dropdown {
    display: none;
    padding-left: 20px;
    padding-top: 20px;
}

.nav__item.active .nav__dropdown {
    display: flex;
    flex-direction: column;
}

.nav__item.active .nav__dropdown a {
    margin-bottom: 15px;
}

.menu__btn,
.menu__close-btn {
    cursor: pointer;
}

.menu__btn span,
.menu__close-btn img {
    display: block;
}

.nav__link {
    color: rgb(169, 255, 255);
    font-size: 14px;
}

.nav__link-drop {
    position: relative;
}

.nav__link-drop::before {
    position: absolute;
    content: "\2193";
    font-size: 24px;
    left: 62px;
    top: -2px;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    color: #0ff;
}

.phone__link-mobshino {
    position: relative;
    color: rgb(255, 255, 255);
}

.phone__link-mobshino::before {
    position: absolute;
    content: "";
    background-image: url(assets/images/phone-2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 19px;
    height: 20px;
    left: -26px;
    top: 2px;
}

.icon__zamenashin-mob {
    width: 42px;
    height: 42px;
}

.request__header-call-btn--zamenashin {
    width: 100%;
}
.request__call-btn--zamenashin {
    display: block;
    width: 100%;
    padding: 20px;
    text-align: center;
    background: linear-gradient(to bottom, #2591a2, #0b505b);
    color: white;
    border-radius: 5px;
}
.header__content-text--zamenashin {
    margin-bottom: 20px;
}
.header__img-zamenashin {
    height: 650px;
}

.view-large-map-link {
    display: block;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #fb818d;
    text-decoration: none;
}

.view-large-map-link:hover {
    color: #ff96a0;
}

/* --- MAIN SERVICES --- */
.main-services {
    padding-top: 60px;
    padding-bottom: 70px;
    margin-bottom: 50px;
}

.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    text-align: center;
}

.service-description {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    text-align: center;
}

/* EQUIPMENT SECTION */
.equipment-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.equipment-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.equipment-text {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 500px;
}

.equipment-image {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 500px;
}

.equipment-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.equipment-description {
    margin-bottom: 24px;
}

.equipment-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.equipment-benefits {
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}

.equipment-benefits li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
}

.equipment-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1b1b1b;
}

.equipment-action {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.equipment-phone {
    display: inline-block;
    position: relative;
    background-color: var(--primary-button-color);
    color: var(--secondary-text-color);
    padding: 10px 24px 10px 44px;
    font-weight: 600;
    font-size: 18px;
    border-radius: 8px;
}

.equipment-phone::before {
    content: "";
    position: absolute;
    background-image: url("/assets/images/phone-2.svg");
    background-repeat: no-repeat;
    background-size: 19px 20px;
    width: 19px;
    height: 20px;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.equipment-messengers {
    display: flex;
    align-items: center;
    gap: 20px;
}

.equipment-messengers a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.equipment-messengers img {
    display: block;
    width: 40px;
    height: 40px;
}

/* WORK PROCESS SECTION */
.work-steps {
    margin-bottom: 80px;
}

.steps-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.step-card {
    flex: 1 1 calc(25% - 30px);
    min-width: 280px;
    max-width: 380px;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.step-icon {
    margin-bottom: 15px;
}
.step-icon svg {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}
.step-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* TEXT SECTION */
.text-section {
    margin-bottom: 80px;
}

.text-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.text-block {
    margin-bottom: 40px;
}

.text-subtitle {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.text-block p {
    margin-bottom: 18px;
}

.text-block ul {
    list-style: disc inside;
    padding-left: 0;
    margin-bottom: 20px;
}

.text-block ul li {
    margin-bottom: 10px;
}

/* PRICE SECTION */
.price-section {
    margin-bottom: 80px;
    animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-text {
    margin-bottom: 40px;
    text-align: center;
    text-align: left;
}

.price-subtitle {
    color: #3e87e8;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.price-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-description {
    color: #444;
}

.price-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    border-radius: 8px;
    overflow: hidden;
}

.price-table th,
.price-table td {
    border: 1px solid #e0e0e0;
    padding: 16px 20px;
    text-align: left;
}

.price-table th {
    background-color: #ececec;
    font-weight: 700;
}

.price-table tbody tr:hover {
    background-color: #ececec;
    transition: background 0.3s ease;
}

.price-badge {
    display: inline-block;
    font-weight: 600;
}

/* --- CATALOG SECTION --- */
.catalog-section {
    margin-top: 50px;
    margin-bottom: 60px;
}
.catalog-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    justify-content: flex-start;
}
.catalog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(25% - 15px);
    min-width: 220px;
    max-width: 300px;
}
.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.catalog-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.catalog-card span {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #2e2e2e;
    display: block;
}

/* PRIVACY PAGE */
.privacy-section {
    margin-top: 50px;
    margin-bottom: 100px;
}

/* WORK SECTION */
.dev-stages {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 80px;
}
.stage-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.stage-item {
    background-color: #1b59af;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex: 1 1 calc(25% - 20px); /* 4 в ряд с отступами */
    min-width: 220px;
    min-height: 220px;
}

.stage-item span {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stage-item.light {
    background-color: #f7f7f7;
    color: #031126;
}


#animated-background {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
  }

@media (max-width: 992px) {
    .stage-item {
        flex: 1 1 calc(50% - 20px); /* 2 в ряд на планшетах */
    }
}

@media (max-width: 600px) {
    .stage-item {
        flex: 1 1 100%; /* 1 в ряд на мобилках */
    }
}
