/* BasisOrigin — shared base: tokens, fonts, reset, buttons, labels, footer.
   Loaded by every page. Home adds home.css, inner pages add page.css. */

@font-face {
	font-family: 'HelveticaNeueCyr';
	src: local('HelveticaNeueCyr-Medium'), url('/fonts/HelveticaNeueCyr-Medium.woff2') format('woff2'), url('/fonts/HelveticaNeueCyr-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'HelveticaNeueCyr';
	src: local('HelveticaNeueCyr-Roman'), url('/fonts/HelveticaNeueCyr-Roman.woff2') format('woff2'), url('/fonts/HelveticaNeueCyr-Roman.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #1D1D1F;        /* graphite: dark sections, headings */
	--ink-2: #4A4A4E;      /* labels on dark */
	--text: #4A4A4C;       /* body text on white */
	--muted: #8C8C8C;      /* secondary text */
	--gray: #E3E3E3;       /* light sections, labels */
	--line: #D6D6D6;
	--orange: #E06A4D;     /* brand accent */
	--white: #FFFFFF;
	--radius-s: 6px;
	--radius: 15px;
	--radius-l: 22px;
	--font: 'HelveticaNeueCyr', Arial, Helvetica, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strong,
sub, sup, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, header, nav, section, article, aside, footer, main {
	margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;
}
header, nav, section, article, aside, footer, main { display: block; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; }

/* ---------- body ---------- */
html { min-height: 100%; -webkit-text-size-adjust: 100%; }
body {
	background: var(--white);
	font: 400 16px/24px var(--font);
	color: var(--muted);
	min-height: 100%;
	width: 100%;
}
a { color: var(--orange); text-decoration: none; transition: .3s; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.conteiner {
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
}

/* ---------- label pill (section titles) ---------- */
.header_page {
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	height: 70px;
	display: flex;
	align-items: center;
}
.header_title {
	display: inline-block;
	padding: 6px 13px;
	border-radius: var(--radius-s);
	background: var(--gray);
	color: var(--ink);
	font: 400 12px/14px var(--font);
	text-transform: uppercase;
}

/* ---------- button ---------- */
.feed_back {
	display: inline-block;
	background: var(--orange);
	border-radius: var(--radius);
	padding: 21px 0 19px;
	width: 206px;
	text-align: center;
	color: var(--white);
	text-transform: uppercase;
	cursor: pointer;
	transition: all .3s linear;
	font: 400 13px/20px var(--font);
}
.feed_back:hover { background: var(--ink); color: var(--white); }

/* ---------- official Google Play badge (unaltered asset from play.google.com/intl/en_us/badges) ----------
   The PNG has transparent clear space built in (~18.75% of its height); negative margins line the
   visible badge up with neighbours. --h is the image height, the visible badge is ~2/3 of it. */
.play_badge { --h: 72px; display: inline-block; flex: none; margin: calc(var(--h) * -.168) calc(var(--h) * -.168); line-height: 0; transition: transform .2s, opacity .2s; }
.play_badge img { display: block; width: auto; height: var(--h); max-width: none; }
.play_badge:hover { transform: translateY(-2px); opacity: .85; }
.play_badge_l { --h: 90px; }

/* ---------- header (shared by all pages, _includes/header.njk) ---------- */
.site_header { position: relative; z-index: 20; background: var(--white); }
.site_header .site_header_bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-top: 23px;
	padding-bottom: 23px;
}
.brand_pill {
	justify-self: start;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 60px;
	padding: 0 17px 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: #000;
	text-transform: uppercase;
	font: 400 12px/14px var(--font);
}
.brand_pill img { width: 31px; height: 35px; }
.brand_pill:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.site_nav { display: flex; align-items: center; gap: 40px; }
.site_nav > a, .nav_drop_btn {
	color: #000;
	text-transform: uppercase;
	font: 400 13px/16px var(--font);
}
.site_nav > a:hover, .nav_drop_btn:hover, .nav_drop.open .nav_drop_btn, .nav_drop_btn[aria-current="page"] { color: var(--orange); }

/* Apps dropdown */
.nav_drop { position: relative; }
.nav_drop_btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition: .3s;
}
.nav_drop_btn::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.nav_drop.open .nav_drop_btn::after { transform: translateY(3px) rotate(-135deg); }
.nav_drop_menu {
	position: absolute;
	top: calc(100% + 18px);
	left: 50%;
	min-width: 280px;
	padding: 8px;
	border-radius: var(--radius);
	background: var(--ink);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -6px);
	transition: opacity .15s, visibility .15s, transform .15s;
}
.nav_drop_menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.nav_drop.open .nav_drop_menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 768px) {
	.nav_drop:hover .nav_drop_menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.nav_drop:hover .nav_drop_btn { color: var(--orange); }
}
.nav_drop_menu a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px;
	border-radius: 10px;
	color: var(--white);
	font: 400 15px/18px var(--font);
}
.nav_drop_menu a:hover { background: rgba(255, 255, 255, .08); }
.nav_drop_menu a[aria-current="page"] { background: rgba(255, 255, 255, .12); }
.nav_drop_menu img, .nav_drop_icon { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.nav_drop_icon { display: flex; align-items: center; justify-content: center; background: var(--app-accent); color: var(--ink); font-weight: 500; }
.nav_drop_icon_light { color: var(--white); }
.nav_drop_menu small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 14px; text-transform: uppercase; }
.nav_drop_menu .nav_drop_all {
	margin-top: 4px;
	padding: 12px 10px 8px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	border-radius: 0;
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
}
.nav_drop_menu .nav_drop_all:hover { background: none; color: var(--white); }
.site_nav .site_nav_cta { display: none; }
.site_header_cta { justify-self: end; }
.burger { display: none; }

@media (max-width: 1023px) {
	.site_nav { gap: 24px; }
	.site_header_cta { width: auto; padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 767px) {
	.site_header .site_header_bar {
		display: flex;
		justify-content: space-between;
		padding-top: 16px;
		padding-bottom: 16px;
	}
	.brand_pill { height: 48px; padding: 0 15px 0 12px; font-size: 10px; }
	.brand_pill img { width: 24px; height: 28px; }
	.site_header_cta { display: none; }
	.burger {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: none;
		cursor: pointer;
	}
	.burger span, .burger span::before, .burger span::after {
		display: block;
		position: relative;
		width: 18px;
		height: 2px;
		background: #000;
		transition: transform .2s, background .2s;
	}
	.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
	.burger span::before { top: -6px; }
	.burger span::after { top: 6px; }
	.open .burger { background: var(--ink); border-color: var(--ink); }
	.open .burger span { background: transparent; }
	.open .burger span::before { background: var(--white); transform: translateY(6px) rotate(45deg); }
	.open .burger span::after { background: var(--white); transform: translateY(-6px) rotate(-45deg); }
	.site_nav {
		position: absolute;
		top: calc(100% - 8px);
		left: 16px;
		right: 16px;
		flex-direction: column;
		gap: 0;
		padding: 12px 0;
		border-radius: var(--radius);
		background: var(--ink);
		box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .15s, visibility .15s, transform .15s;
	}
	.open .site_nav { opacity: 1; visibility: visible; transform: none; }
	.site_nav { align-items: stretch; }
	.site_nav > a, .nav_drop_btn { padding: 12px 20px; color: var(--white); font-size: 14px; line-height: 18px; }
	.site_nav > a:hover, .nav_drop_btn:hover { color: var(--orange); }
	/* on mobile the apps list is always expanded inside the burger panel */
	.nav_drop_btn { pointer-events: none; }
	.nav_drop_btn::after { display: none; }
	.nav_drop_menu, .nav_drop.open .nav_drop_menu {
		position: static;
		min-width: 0;
		margin: 0 12px 4px;
		padding: 0;
		box-shadow: none;
		background: none;
		opacity: 1;
		visibility: inherit;
		transform: none;
	}
	.nav_drop_menu::before { display: none; }
	.nav_drop_menu a { padding: 8px; font-size: 14px; }
	.nav_drop_menu img, .nav_drop_icon { width: 32px; height: 32px; border-radius: 8px; }
	.nav_drop_menu .nav_drop_all { display: none; }
	.site_nav .site_nav_cta {
		display: block;
		margin: 8px 20px 4px;
		padding: 16px 0 14px;
		border-radius: var(--radius);
		background: var(--orange);
		color: var(--white);
		text-align: center;
	}
	.site_nav .site_nav_cta:hover { color: var(--ink); background: var(--white); }
}

/* ---------- footer: contact block + marquee (_includes/footer.njk) ---------- */
.section_footer {
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	height: 100vh;
	overflow: hidden;
	background: var(--orange);
	color: var(--white);
}
.section_footer .header_page { border-bottom: 1px solid rgba(255, 255, 255, .4); }
.section_footer .header_title { background: rgba(255, 255, 255, .17); color: var(--white); }
.footer_body { position: relative; height: 171px; }
.footer_body a { display: block; color: var(--white); }
.slider_footer {
	display: flex;
	width: max-content;     /* 8 copies; -50% = exactly 4 copies -> seamless loop */
	height: 171px;
	white-space: nowrap;
	opacity: .2;
	transition: opacity .3s linear;
	animation: marquee 40s linear infinite;
}
.slider_footer div { flex-shrink: 0; padding-right: 80px; }
.slider_footer img { max-width: none; }
.footer_body:hover .slider_footer { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .slider_footer { animation-duration: 80s; } }
.div_slider {
	position: absolute;
	top: 50%;
	left: 0;
	margin: -86px 0 0 378px;
	width: 172px;
	height: 172px;
	padding: 134px 0 0 23px;
	border: 1px solid var(--white);
	border-radius: var(--radius-l);
	background: var(--white);
	transition: all .3s linear;
}
.footer_body:hover .div_slider { opacity: 0; transform: scale(.9); }
.div_slider path { stroke: var(--orange); transition: all .3s linear; }
.footer_phone { display: none; }

@media (max-width: 1217px) { .div_slider { left: 24px; margin-left: 0; } }
@media (max-width: 1023px) { .div_slider { left: 0; margin-left: 24px; } }
@media (max-width: 767px) {
	.footer_body { display: none; }
	.footer_phone {
		display: block;
		padding: 0 16px;
		letter-spacing: -.03em;
		text-transform: uppercase;
		color: var(--white);
		font: 400 70px/74px var(--font);
	}
	.footer_phone span { display: block; color: rgba(255, 255, 255, .14); }
	.footer_phone:active, .footer_phone:hover { color: rgba(255, 255, 255, .7); }
}
@media screen and (orientation: landscape) {
	.section_footer { height: auto; min-height: 100vh; }
	.footer_body, .footer_phone { margin: 40px 0; }
}
/* phones: content height, no full-screen gaps (after the landscape rule on purpose) */
@media (max-width: 767px) {
	.section_footer { height: auto; min-height: 0; }
	.footer_phone { margin: 32px 0 0; }
}

/* ---------- footer: legal + copyright ---------- */
.footer { background: var(--orange); color: var(--white); }
.footer_bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-bottom: 24px;
}
.footer_legal {
	width: 50%;
	text-transform: uppercase;
	font: 400 13px/20px var(--font);
}
.footer_legal p { margin-bottom: 4px; }
.footer_legal strong { font-weight: 500; font-size: 16px; }
.div_mail { width: 50%; padding-bottom: 10px; }
.div_mail p { max-width: 290px; }
.div_mail a.link_mail {
	display: block;
	color: var(--white);
	text-transform: uppercase;
	font: 500 20px/24px var(--font);
	padding-bottom: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, .4);
	margin-bottom: 19px;
}
.div_mail a.link_mail:hover { color: rgba(255, 255, 255, .7); border-bottom-color: rgba(255, 255, 255, .7); }
.copy {
	display: flex;
	gap: 16px;
	min-height: 82px;
	border-top: 1px solid rgba(255, 255, 255, .4);
	align-items: center;
	justify-content: space-between;
	text-transform: uppercase;
	font: 400 13px/16px var(--font);
}
.copy a { color: var(--white); transition: all .3s linear; }
.copy a:hover { color: rgba(255, 255, 255, .7); }

@media (max-width: 1217px) {
	.div_mail { padding-left: 40px; }
}
@media (max-width: 1023px) {
	.footer_bottom { flex-wrap: wrap; padding-top: 40px; }
	.div_mail { width: 100%; padding: 0 0 40px; order: -1; }
	.footer_legal { width: 100%; padding-bottom: 24px; }
}
@media (max-width: 767px) {
	.conteiner { padding: 0 16px; }
	.header_page { height: 64px; }
	.header_title { font-size: 10px; line-height: 12px; }
	.feed_back { padding: 19px 0 17px; width: 180px; font-size: 10px; line-height: 12px; }
	.div_mail a.link_mail { font-size: 16px; line-height: 20px; }
	.copy { min-height: 64px; font-size: 10px; line-height: 12px; flex-wrap: wrap; padding: 16px 0; }
}
