@font-face {
	font-family: 'Chronica Pro Regular';
	src: url('/themes/default/fonts/ChronicaPro-Regular.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Regular Italic';
	src: url('/themes/default/fonts/ChronicaPro-Italic.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Medium';
	src: url('/themes/default/fonts/ChronicaPro-Medium.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Medium Italic';
	src: url('/themes/default/fonts/ChronicaPro-MediumItalic.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Bold';
	src: url('/themes/default/fonts/ChronicaPro-Bold.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Bold Italic';
	src: url('/themes/default/fonts/ChronicaPro-BoldItalic.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Extra Bold';
	src: url('/themes/default/fonts/ChronicaPro-ExtraBold.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Extra Bold Italic';
	src: url('/themes/default/fonts/ChronicaPro-ExtraBoldItalic.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Black';
	src: url('/themes/default/fonts/ChronicaPro-Black.woff2') format('woff2'),
}

@font-face {
	font-family: 'Chronica Pro Black Italic';
	src: url('/themes/default/fonts/ChronicaPro-BlackItalic.woff2') format('woff2'),
}

/* === Index.html === --> */

body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
}

html, body {
	overflow-x: hidden;
}

.main-page {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background-image: url('/img/backgrounds/blocks/atbpo-bg-01-2.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 3840px auto;
	overflow-x: hidden;
}

.html, .main-page {
	overflow-x: hidden;
}

.site-wrapper {
	width: 100%;
}

.outer-container {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.inner-container {
	position: relative;
	max-width: 970px;
	width: 100%;
	margin: 0 auto;
	padding: 0px 40px 0px 20px;
	box-sizing: border-box;
}

.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	height: 240px;
	padding-top: 20px;
	padding-bottom: 20px;
	box-sizing: border-box;
	gap: 20px;
}

.logo img {
	display: block;
	width: 240px;
	height: auto;
	transition: content 0.3s ease-in-out;
}

.logo img:hover {
  content: url('/img/atbpo-logo-green.png');
}


.main-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.nav-list {
	display: flex;
	gap: 2px 30px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-list li a {
	color: white;
	text-decoration: none;
	font-family: 'Chronica Pro Bold', sans-serif;
	font-size: 17px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	white-space: nowrap;
}

.nav-list li a:hover,
.nav-list li a:focus {
	color: #00FFA0;
}

.main-nav .nav-list li a.active {
	color: #00FFA0;
}

.main-nav .nav-list li.active > a {
	color: #00FFA0;
}

.nav-list li.active {
	font-family: 'Chronica Pro Bold', sans-serif;
	font-size: 17px;
	letter-spacing: 0.5px;
	color: #00FFA0;
	cursor: default;
	pointer-events: none;
}

.lang-switcher {
	display: flex;
	align-items: center;
	height: 40px;
	border: 1px solid #00FFA0;
	border-radius: 6px;
	overflow: hidden;
	font-family: 'Chronica Pro Medium', sans-serif;
	font-size: 16px;
	white-space: nowrap;
	flex-shrink: 0;
}

.lang-switcher a {
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 14px;
	text-decoration: none;
	color: white;
	background-color: transparent;
	transition: 0.3s;
}

.lang-switcher a.active {
	background-color: #00FFA0;
	color: #507a8c;
}

.slogan {
	height: 420px;
	margin-top: 30px;
	text-align: left;
	align-content: center;
	color: white;
	text-decoration: none;
	font-family: 'Chronica Pro Bold Italic', sans-serif;
	font-size: 50px;
	letter-spacing: 0.5px;
}



.txt-content {
	max-width: 970px;
	width: 100%;
	margin: 0 auto;
	padding: 0px 40px 0px 20px;
	box-sizing: border-box;
}

.txt-header {
	max-width: 970px;
}

.txt-block {
	max-width: 550px;
}

.txt-title {
	font-family: 'Chronica Pro Black Italic', sans-serif;
	font-size: 36px;
	line-height: 46px;
	color: #507a8c;
	margin: 0 0 50px;
}

.txt-title-white {
	font-family: 'Chronica Pro Black Italic', sans-serif;
	font-size: 36px;
	line-height: 46px;
	color: #ffffff;
	margin: 0 0 50px;
}

.txt-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.txt-list li {
	position: relative;
	margin-bottom: 20px;
	font-family: Arial, sans-serif;
	font-size: 20px;
	line-height: 31px;
	color: #282223;
}

.txt-list a {
  color: #507a8c;
  text-decoration: underline;
}

.txt-list li::before {
	content: '';
	position: absolute;
	left: -28px;
	top: calc((31px - 13px) / 2);
	width: 13px;
	height: 13px;
	background-color: #b4c2c6;
	border-radius: 50%;
}

.clients-list {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	row-gap: 10px;
	column-gap: 20px !important;
	justify-content: start;
	margin: 0;
	padding: 0;
	max-width: 400px;
}

.clients-txt {
	margin: 0 0 20px;
	font-family: Arial, sans-serif;
	font-size: 20px;
	line-height: 31px;
	color: #282223;
}

.contacts-txt {
	margin: 0 0 20px;
	font-family: Arial, sans-serif;
	font-size: 28px;
	line-height: 40px;
	color: #282223;
}

.spheres-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 20px 200px;
	margin: 0;
	max-width: 1200px;
	justify-items: start;
}

.sphere-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.sphere-icon {
	width: 100px;
	height: 100px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sphere-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sphere-text {
	color: white;
	font-family: 'Chronica Pro Bold';
	font-size: 20px;
	line-height: 26px;
	letter-spacing: 0.5px;
	max-width: 120px;
	margin-bottom: 20px;
}

.txt-content {
	position: relative;
}

.contacts .inner-container {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.contact-button-wrapper {
  position: absolute;
  right: 40px;
  bottom: -480px;
  z-index: 2;
}

.contact-button, #popup-init {
	display: inline-block;
	padding: 12px 36px;
	background-color: #507a8c;
	color: white;
	font-family: Arial, sans-serif;
	font-size: 24px;
	line-height: 32px;
	text-decoration: none;
	border-radius: 12px;
	transition: background-color 0.2s ease;
}

.contact-button:hover, .contact-button, #popup-init:hover {
	background-color: #336675;
}

.contacts-banner #popup-init
{
	background-color: #00ffa0;
	color: #507a8c;
}

/* === Footer === --> */

.footer {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	background-color: #507a8c;
	padding: 60px 40px;
	box-sizing: border-box;
	overflow-x: hidden;
}

.footer .inner-container {
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 30px;
}

.footer-col {
	box-sizing: border-box;
}

.footer-col--text {
	flex: 1 1 0;
}

.footer-col--logo {
  flex: 0 0 240px;
}

.footer-col--logo img {
  display: block;
  width: 240px;
  height: 56px;
}

.footer-logo {
	flex-shrink: 0;
	margin-right: 30px;
}

.footer-text {
	margin: 0;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
}


.main-menu {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background-image: url('/img/backgrounds/blocks/atbpo-bg-07-01.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 3840px auto;
	overflow-x: hidden;
}

.html, .marketing {
	overflow-x: hidden;
}


.txt-block-2 {
	max-width: 450px;
}


.txt-block-3 {
	max-width: 400px;
}

.txt-subheader {
	max-width: 500px;
}

.txt-subtitle {
	font-family: 'Arial', sans-serif;
	font-style: italic;
	font-size: 28px;
	line-height: 36px;
	color: #7a98a7;
	margin: 0 0 50px;
}


.txt-block-4 {
	max-width: 450px;
}

.txt-block-6 {
	max-width: 450px;
}

.txt-block-7 {
	max-width: 450px;
}

.txt-block-8 {
	max-width: 450px;
}


/* === POPUP === --> */
#popup-init
{
	cursor: pointer;
}

.popup,
.popup * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.popup.active {
	display: block;
}

.popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
}

.popup__window {
	position: relative;
	margin: auto;
	top: 50%; transform: translateY(-50%);
	background: #507a8c;
	border-radius: 24px;
	padding: 50px 70px;
	max-width: 980px;
	width: calc(100% - 40px);
	box-sizing: border-box;
}

.popup__close {
	position: absolute;
	top: 20px; right: 20px;
	font-size: 36px;
	color: white;
	text-decoration: none;
	line-height: 1;
	cursor: pointer;
}

.popup__title {
	font-family: 'Chronica Pro Bold Italic', sans-serif;
	font-size: 32px;
	line-height: 1.2;
	color: white;
	margin-bottom: 16px;
}

.popup__desc {
	font-family: Arial, sans-serif;
	font-size: 18px;
	color: white;
	margin-bottom: 32px;
}

.popup__form input[type="text"],
.popup__form input[type="tel"],
.popup__form input[type="email"] {
	width: 100%;
	padding: 14px 20px;
	font-size: 16px;
	border: none;
	border-radius: 12px;
	margin-bottom: 20px;
	background-color: rgba(255,255,255,0.85);
}

.popup__row {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 0 20px;
	margin-bottom: 20px;
}

.popup__agree {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-family: Arial, sans-serif;
	color: white;
	margin-bottom: 30px;
}

.popup__agree a {
  white-space: normal;
}

.popup__agree-text {
  flex: 1;
  white-space: normal;
}

.popup__agree input {
	margin-right: 12px;
	width: 18px; height: 18px;
}

.popup__submit {
	padding: 12px 32px;
	font-size: 18px;
	font-family: Arial, sans-serif;
	color: #507a8c;
	background: #00ffa0;
	border: none;
	border-radius: 12px;
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.3s;
}

.popup__submit:hover {
  background-color: #00e794;
  cursor: pointer;
}

.popup__form:has(#agree:checked) .popup__submit {
	opacity: 1;
	pointer-events: auto;
}

body:has(.popup:target) {
	overflow: hidden;
}


/* === 404 === */
.page-404 {
	position: relative;
	overflow-x: hidden;
	overflow-y: visible;
}

.page-404__img {
	display: block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin: 100px 0 80px 0;
	width: clamp(800px, 400vw, 3840px);
	height: auto;
	overflow-x: hidden;
}

.page-404__content {
	padding: clamp(40px, calc(80px * (100vw/1920)), 80px) 0;
	text-align: center;
}

.error-title {
  font-size: clamp(20px, calc(36px * (100vw/1920)), 36px);
  margin-bottom: clamp(20px, calc(50px * (100vw/1920)), 50px);
}

.error-desc {
  font-size: clamp(14px, calc(18px * (100vw/1920)), 18px);
  margin-bottom: clamp(30px, calc(60px * (100vw/1920)), 60px);
}

.btn-404 {
  padding:
    clamp(8px, calc(12px * (100vw/1920)), 12px)
    clamp(24px, calc(36px * (100vw/1920)), 36px);
  font-size: clamp(16px, calc(24px * (100vw/1920)), 24px);
}

.page-404__content .error-title {
	font-family: 'Chronica Pro Black Italic', sans-serif;
	font-size: 36px;
	color: #507a8c;
	margin-bottom: 50px;
}

.page-404__content .error-desc {
	font-family: Arial, sans-serif;
	font-size: 18px;
	color: #282223;
	margin-bottom: 60px;
}

.page-404__content .btn-404 {
	display: inline-block;
	padding: 12px 36px;
	background-color: #00ffa0;
	color: #507a8c;
	font-family: Arial, sans-serif;
	font-size: 24px;
	text-decoration: none;
	border-radius: 12px;
	transition: opacity 0.3s;
	margin-bottom: 60px;
}
.page-404__content .btn-404:hover {
	opacity: 0.7;
	cursor: pointer;
}


#cookie_popup
{
    background-color: #507a8c;
    position: fixed;
    bottom: 25px;
    border: 1px solid white;
    padding: 5px 20px 20px 20px;
    border-radius: 12px;
	z-index: 99;
	text-align: left;
	display: none;
	margin:auto;
    left: calc((100% - 910px) / 2 - 10px);
    right: calc((100% - 910px) / 2 + 10px);
}

#cookie_popup p
{
	text-align: left;
}

#cookie_popup.active
{
	display: block;
}

.cookie_accept, .cookie_reject
{
	padding: 12px 32px;
	font-size: 18px;
	font-family: Arial, sans-serif;
	color: #507a8c;
	background: #00ffa0;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	margin-right: 15px;
	margin-bottom: 10px;
	display: inline-block;
}


.lang-switcher
{
	transition: box-shadow 0.3s ease-in-out;
}

.lang-switcher:hover {

	box-shadow: 0 0 20px rgba(0, 255, 160, 0.9);  
}

@media (max-width:1320px)
{
	#cookie_popup
	{
		left: calc((100% - 910px) / 2 + 10px);
        right: calc((100% - 910px) / 2 - 10px);
	}
}

@media (max-width:1000px)
{
	#cookie_popup
	{
		left: 15px;
        right: 15px;
	}
}


@media (max-width: 969px) {
	.site-header {
		height: 240px;
		padding: 0px 10px 0px 10px;
	}
  
	.logo {
		order: 1;
		flex: 0 0 auto;
		margin-top: 20px;
	}
  
	.lang-switcher {
		order: 2;
		margin-left: auto;
		margin-right: 20px;
		margin-top: 20px;
		flex: 0 0 auto;
	}
  
	.main-nav {
		order: 3;
		width: 100%;
		margin-right: 20px;
		margin-top: -30px;
		justify-content: space-between;
		padding: 0;
	}
  
	.nav-list {
		justify-content: center;
		flex-wrap: wrap;
		width: 100%;
	}
  
	.nav-list li {
		flex: 0 1 auto;
		text-align: center;
	}
  
	.nav-list li a {
		font-family: 'Chronica Pro Bold', sans-serif;
		font-size: 16px;
		letter-spacing: 0.5px;
	}
	
	.nav-list li.active {
		font-family: 'Chronica Pro Bold', sans-serif;
		font-size: 16px;
		letter-spacing: 0.5px;
	}
	
	.nav-list li a.active {
		font-family: 'Chronica Pro Bold', sans-serif;
		font-size: 16px;
		letter-spacing: 0.5px;
	}
	
	.main-nav .nav-list {
		width: 100%;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 10px 30px;
	}
  
	.nav-wrapper {
		margin-top: 10px;
	}
  
	.slogan {
		margin-top: 30px;
		margin-left: 10px;
	}
  
	.txt-header, .txt-list {
		max-width: 83%;
	}

	.contact-button-wrapper {
		position: static;
		padding: 40px 20px 0 20px;
		display: flex;
		justify-content: flex-start;
	}
	
	.spheres-grid {
		gap: clamp(20px, 2vw, 40px) clamp(40px, 2vw, 200px);
	}
	
	.txt-block-2 {
	max-width: 400px;
	}

	.banner-button {
	padding: 12px 20px;
	}
	
	.banner-title {
	max-width: 400px;
	padding: 0px 0px 0px 60px;
	}
	
	.footer {
	padding: 60px 40px 60px 20px;
	}
	
	.txt-header {
	max-width: 600px;
	padding: 0;
	}
	
	.txt-block-5 {
	max-width: 400px;
	padding: 0px 0px 0px 20px;
	}
	
	.txt-block-6 {
	max-width: 350px;
	}
	
	.txt-block-8 {
	max-width: 450px;
	margin-left: 20px;
	}
}

@media (max-width: 850px) {
	.clients-list {
		grid-template-columns: 0.7fr 2fr;
		max-width: 350px;
	}
}

@media (max-width: 700px) {
	.footer .inner-container {
    	flex-direction: column;
    	align-items: flex-start;
    	text-align: left;
		gap: 10px;
	}
	
	.footer-col--logo {
		flex: none;
		margin-bottom: 30px;
	}
	
	.footer-col--text {
		flex: none;
		width: 100%;
	}
	
	.txt-block-7 {
	max-width: 350px;
	}
	
	.slogan.ru {
	font-size: 42px;
	}
	
}

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



/* === Подстановка «мобайл-героя» и скрытие слогана для ≤550px === */

@media (max-width: 575px) {
	.nav-list {
    display: flex;
    flex-direction: column;
    align-items: left;
	gap: 0;
    padding: 0;
    margin: 0;
	}
	
	.nav-list li {
    width: 100%;
    text-align: left;
	}
	
	nav-list li a {
    font-size: 14px;
    white-space: normal;
  }
}

@media (max-width: 550px) {
	.scale-wrapper,
	.main-page {
		background-image: url('/img/backgrounds/blocks/atbpo-bg-07-01.png'); /* ваша мобильная картинка */
		background-size: cover;
		background-position: center;
	}

	.slogan {
	display: none;
	}

	.site-header {
	padding: 5px 0;
	}

	.logo img {
	width: 150px;
	}

	.lang-switcher {
	font-size: 12px;
	height: 32px;
	}
	

}



/* === Адаптация блока «Footer» для ≤550px === */
@media (max-width: 550px) {
	.footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
	}
	.footer .outer-container {
    padding-left: 10 !important;
    padding-right: 0 !important;
  }
}


/* === Адаптация POPUP для экранов ≤550px === */
@media (max-width: 550px) {
  .popup__window {
    padding: 30px 30px !important;
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
  }

  .popup__title {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }

  .popup__desc {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }

  .popup__form input[type="text"],
  .popup__form input[type="tel"],
  .popup__form input[type="email"] {
    padding: 10px 14px !important;
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }

  .popup__row {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 16px !important;
  }

  .popup__agree {
    margin-bottom: 20px !important;
    font-size: 14px !important;
  }

  .popup__submit {
    padding: 10px 24px !important;
    font-size: 16px !important;
  }
}