.header__bg {
    opacity: 0.1;
}
.services__item-icon img {
    object-position: right;
}
.portfolio__item-title {
    height: 100%;
}
.portfolio__item {
    display: flex;
    flex-direction: column;
}
.portfolio__item img {
    flex-shrink: 0;
}
.footer__bottom-left a {
text-decoration: underline;
    
}
.office-contacts__title {
    margin-bottom: 10px;
    font-size: 18px;
}
.office-contacts__map, .office-contacts__map iframe {
    height: 100%;
}
.services__item-title {
    background: rgba(125, 126, 126, .34);
}
.article-page__hero::after {
    display: none;
}
.article-page__hero-image {
    position: relative;
    inset: 0;
    opacity: 1;
    max-width: 600px;
    padding: 20px;
    background: #F1F8FF;
    border: 1px solid #D3EAFF;
    border-radius: 8px;
    width: 100%;
    flex-shrink: 0;
}
.article-page__hero {
    border-radius: 0px;
    display: flex;
    gap: 20px;
}
.article-page__hero-image img {
    border-radius: 8px;
}
.article-page__hero {
    background: none;
    max-height: 300px;
}
.article-page__right {
    background: #21414E;
    width: 100%;
    border-radius: 8px;
}
.article-page__hero-contact {
    position: relative;
}
.cargo-banner__items {
    display: flex;
}
.cargo-banner__item {
    padding-right: 30px;
}
.cargo-banner__title {
    font-size: 16px;
}
.cargo-banner__title {
    white-space: normal;
}
.services__item-desc {
    max-width: 250px;
}
.cargo-banner__items {
    flex-wrap: wrap;
}
.geography__map {
    height: 600px;
    width: 100%;
    background: #EEF7FF;    
    border: 1px solid #D3EAFF;
    border-radius: 8px;
    padding: 10px;
}    
.geography__map-img {
    /* background: #fff;
    padding: 10px; */
    height: 100%;
    border-radius: 8px;
} 
.geography__map-img img {
    width: 100%;
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
}
.map-mob {
    display: none;
}
.success-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-popup.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.success-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 22, 34, 0.68);
	backdrop-filter: blur(4px);
}

.success-popup__dialog {
	position: relative;
	width: calc(100% - 32px);
	max-width: 520px;
	margin: 0 auto;
	top: 50%;
	transform: translateY(-50%) scale(0.96);
	background: #e8eef4;
	border-radius: 24px;
	padding: 36px 32px 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
	text-align: center;
	transition: transform 0.3s ease;
}

.success-popup.is-active .success-popup__dialog {
	transform: translateY(-50%) scale(1);
}

.success-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #244050;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.success-popup__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #dd2f28;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	font-weight: 700;
}

.success-popup__title {
	margin-bottom: 12px;
	color: #244050;
	font-size: 32px;
	line-height: 1.1;
	font-weight: 700;
}

.success-popup__text {
	margin: 0 auto 24px;
	max-width: 380px;
	color: #4f6775;
	font-size: 18px;
	line-height: 1.5;
}

.success-popup__btn {
	margin: 0 auto;
}

body.success-popup-open {
	overflow: hidden;
}
.rail-tariffs__route span {
    white-space: normal;
}
.office-contacts__item {
    flex-wrap: wrap;
}
.office-contacts__title {
    width: 100%;
}

@media (max-width: 767px) {
	.success-popup__dialog {
		padding: 28px 20px 24px;
		border-radius: 20px;
	}

	.success-popup__title {
		font-size: 24px;
	}

	.success-popup__text {
		font-size: 16px;
	}
}
@media (min-width: 1280px) {
    .cargo-banner__wrapper {
        flex-wrap: nowrap;
    }
    .cargo-banner__items {
        flex-wrap: nowrap;
    }
    .rail-tariffs__route {
        grid-template-columns: 1fr 1fr 1fr;
        display: grid;
        gap: 0;
        width: 80%;
    }
    .rail-tariffs__row {
        height: 60px;
    }
} 
@media (max-width: 768px) { 
    .article-page__hero {
        flex-direction: column;
    }
    .article-page__hero-image {
        height: 300px;
    }
    .article-page__hero {
        max-height: 100%;
    }
    .article-page__hero-contact {
        top: 20px;
    }
    .article-page__right {
        height: 90px;
        max-width: 600px;
    }
    .map-desc {
        display: none;
    }
    .map-mob {
        display: block;
    }
}
@media (min-width: 769px) and (max-width: 920px){ 
    .article-page__hero-image {
        max-width: 400px;
    }
}
@media (min-width: 1780px) {
    .standart-text p, .standart-text li {
        font-size: 22px;
    }
    .rail-tariffs__note p {
        font-size: 18px;
    }
    .main-form__texts p {
        font-size: 18px;
    }
    .geography__text p, .geography__text li {
        font-size: 18px;
    }
    .header__nav a {
        font-size: 18px;
    }
    .header__contact {
        font-size: 14px;
    }
    .prefs__list__item p {
        font-size: 20px;
    }
    .standart-item p, .standart-item .standart-item__text {
        font-size: 18px;
    }
}