@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,700;1,300&display=swap');
body{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    background: #05396b;
    color: #fff;
}

section {
	padding: 0px 0;	
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}


/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.overlay {
    background: rgb(0 0 0 / 74%);
            /*position: absolute;*/
            top: 0;
            left: 0;
            width: 100%;
            height: 120%;
            z-index: 4;
	    	margin: 0 auto;
}

/* Header */
.header {
    width: 100%;
    padding: 12px 0;
    background: #05396b;
    /*position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header.fixed {
    padding: 10px 0;
    background-color: #00366d;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    /*position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
    transform: translate3d(0, 0, 0);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: space-between;
    flex-direction: column;
	background: url(/assets/img/logo.png) no-repeat top center;
	width: 240px;
    height: 84px;
}


.line {
    height: 3px;
    background: #d4af35;
    width: 40%;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Nav */
.nav {
    font-size: 14px;
    text-transform: uppercase;
}

.nav__link {
    display: inline-block;
    vertical-align: top;
    margin: 0 15px;
    position: relative;

    color: #fff;
    text-decoration: none;

    transition: color .1s linear;
}

.nav__link:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fce38a;
    opacity: 0;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;

    transition: opacity .1s linear;
}

.nav__link:hover {
    color: #fce38a;
}

.nav__link:hover:after,
.nav__link.active:after {
    opacity: 1;
}

.nav__link.active {
    color: #fce38a;
}

.nav-toggle {
    width: 30px;
    padding: 10px 0;
    display: none;
    font-size: 0;
    color: transparent;
    border: 0;
    background: none;
    cursor: pointer;
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1;
}

.nav-toggle__item {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: background .2s linear;
}

.nav-toggle__item:before {
    top: -8px;
}
.nav-toggle__item:before, .nav-toggle__item:after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    z-index: 1;
    
}

.nav-toggle__item:after {
    bottom: -8px;
}

.nav-toggle__item:before, .nav-toggle__item:after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    z-index: 1;
    transition: transform .2s linear;
}

.nav-toggle.active .nav-toggle__item:before {
    transform-origin: left top;
    transform: rotate(45deg) translate3d(0px, -2px, 0);
}

.nav-toggle.active .nav-toggle__item:after {
    transform-origin: left bottom;
    transform: rotate(-45deg) translate3d(0px, 3px, 0);
}

.nav-toggle.active .nav-toggle__item {
    background: none;
}
	
/* about   */

.about {
    background: url('/assets/img/about.jpg') no-repeat top center;
    width: 1200px;
    background-size: cover;
    margin: 0 auto;
    height: 600px;
}

.about-text {
    font-size: 35px;
    color: #d4af35;
    font-weight: bold;
    padding: 234px 0;
    text-align: center;
}
/* Our */
.our {
    width: 100%;
    margin: 25px auto;
}

.our p {
    font-size: 18px;
}


.title {
    font-size: 22px;
    color: #fff;
}

.about-img {
    background-size: cover;
    margin: 20px auto;
}

/* history */
.history-block {
    display: flex;
    align-content: center;
    justify-content: center;
}

.history-block img {
    width:  500px;
    background-size: cover;
}

.history-block p {
    font-size: 23px;
}

/* services */
.services {
    background: url('/assets/img/services.jpg') no-repeat top center;
    width: 100%;
    
}

/* Обновленные стили для сетки "OUTSTAFFING for You" */
.service-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px; /* Современный способ задать отступы между блоками */
}

.list {
    background: transparent;
    width: calc(50% - 10px); /* Строго два блока в ряд */
    margin: 0;
    border: 2px solid #d4af35; /* Более тонкая и аккуратная рамка */
    text-align: left; /* Выравнивание текста по левому краю */
    min-height: 100px;
    padding: 25px 35px;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center; /* Центрирование текста по вертикали */
}

/* Обновленные стили для списка "ADVANTAGES" */
.adv {
    margin-left: 0;
    padding-left: 0;
}

.adv li {
    list-style: none;
    display: flex;
    margin: 8px 0;
    align-items: flex-start;
    font-size: 20px;
    position: relative;
    line-height: 1.4;
}

/* Создаем аккуратные золотые точки через CSS (вместо картинок) */
.adv li::before {
    content: '';
    display: inline-block;
    min-width: 6px;
    height: 6px;
    background-color: #d4af35;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 11px; /* Смещение точки вниз, чтобы она была по центру первой строки текста */
}



/* outstaff */
.staff {
    margin: 25px auto;
}


/* footer */
.footer {
    background: url('/assets/img/footer.jpg') no-repeat top center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    /*padding: 25px 0;*/
    padding-bottom: 50px;
    line-height: 1.2;
}

/* Обновленный блок контактов в футере */
.contacts {
    padding: 60px;
    background: rgb(0 0 0 / 35%);
    border-left: 10px solid #d4af35; /* Увеличили толщину линии под дизайн */
}

.contact-details {
    display: flex;
    flex-direction: column;
}

/* Строка с контактом */
.c-row {
    display: flex;
    font-size: 22px; /* Размер шрифта как на скриншоте */
    line-height: 1.5;
    margin-bottom: 8px;
    align-items: flex-start;
}

/* Золотые метки (T:, M:, E:, W:) */
.c-label {
    color: #d4af35;
    font-weight: bold;
    width: 45px; /* Жестко задаем ширину, чтобы текст справа стоял ровно */
    flex-shrink: 0;
}

/* Контактные данные (ссылки) */
.c-row a {
    color: #fff;
    text-decoration: none;
    font-weight: normal; 
    transition: color 0.2s;
}

/* Эффект при наведении на ссылку */
.c-row a:hover {
    color: #d4af35;
}

/* Контейнер для нескольких мобильных номеров */
.c-phones {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    padding: 25px 0;
}




/* =========================================
   ТАЙМЛАЙН "OUTSTAFFING FROM US"
   ========================================= */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 20px 0;
}

/* Центральная вертикальная линия (шкала) */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #fff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px; /* Смещение на половину ширины для точного центра */
}

/* Базовые стили для каждого блока */
.timeline-item {
    padding: 15px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    /* Убираем конфликты с другими стилями списков */
    list-style: none; 
}

/* Золотые ромбики */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #d4af35;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    z-index: 2; /* Поверх белой линии */
}

/* Позиционирование элементов слева */
.timeline-item.left {
    left: 0;
    text-align: right;
}
.timeline-item.left::after {
    right: -7px; /* Центрируем ромб по линии */
}

/* Позиционирование элементов справа */
.timeline-item.right {
    left: 50%;
    text-align: left;
}
.timeline-item.right::after {
    left: -7px; /* Центрируем ромб по линии */
}

/* Стилизация текста внутри */
.timeline-item p {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
}


/* =========================================
   МОБИЛЬНАЯ АДАПТАЦИЯ (Дополненная)
   ========================================= */

@media (max-width: 700px){
	
	.about {
		width: 100%;
		height: auto;
		background-size: cover;
	}
    .about-img {
        width: 100%;
    }
	
    
    .history-block {
        flex-wrap: wrap;
    }
    
    .container  {
        padding: 0 15px;
    }
	
	.history-block img {
		width: 100%
}
	
	.list {
		width: 100%;
   		 margin: 15px;
	    min-height: 100px;
   		 padding-top: 21px;
	}
	
	.title {
		font-size: 18px
	}
	
	.services {
    	background: url(/assets/img/services.jpg);
		width: 100%;
		height: 100%;
}
	
	.footer-content {
		flex-wrap: wrap;

}
	
	.ct {
		font-size: 16px;
	}
	
	.adv li {
		margin: 8px 0;
		font-size: 16px;
}
	
	.history-block p {
		font-size: 18px;
	}
	
	.about-text {
		font-size: 25px;
		padding: 80px 0;
	}
	
	.footer-logo {
		padding: 25px;
		text-align: center;
	}
	
	 /* Nav */
  .nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: #05396b;
	z-index: 10
}
    .nav.active {
        display: block;
    }

    .nav__link {
        display: block;
        margin: 0;
        padding: 8px 20px;
    }

    .nav-toggle {
        display: block;
    }
	
	.header__logo {
		font-size: 16px;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		flex-direction: row;
		align-content: flex-start;
		background: url(/assets/img/logo-mobile.png) no-repeat top center;
		width: 200px;
    	height: 49px;
	}
	
	.footer {
		background: url('/assets/img/footer.jpg') left center
	}	
	
    /* Адаптация таймлайна для мобильных */
    .timeline::after {
        left: 20px; /* Смещаем шкалу к левому краю */
    }
    .timeline-item {
        width: 100%; /* Занимают всю ширину */
        padding-left: 50px; /* Отступ слева от шкалы */
        padding-right: 15px;
        text-align: left !important; /* Весь текст выравниваем по левому краю */
    }
    .timeline-item.left, 
    .timeline-item.right {
        left: 0;
    }
    /* Позиционируем ромбики по шкале на левой стороне */
    .timeline-item.left::after, 
    .timeline-item.right::after {
        left: 13px;
        right: auto;
    }
}