/**
 * Footer styles.
 * BEM methodology. Desktop 1440px.
 *
 * @package Harmony
 */

.footer {
	background-color: var(--bg-f5f5f5);
	width: 100%;
	margin-top: 120px;
}

.footer__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 46px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 46px;
	box-sizing: border-box;
}
.footer__upper {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 20px;
}

.footer__col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.footer__col--form{
	gap: 3px;
}

.footer__label {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 14px;
	line-height: 143%;
	text-transform: uppercase;
	color: var(--grey-808080);
	margin: 0;
	text-transform: uppercase;
}

.footer__label--bold {
	color: var(--black-292929);
	font-weight: 600;
}

.footer__developer {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer__logo {
	line-height: 0;
}

.footer__logo-img {
	display: block;
	height: 36px;
	width: auto;
}

.footer__description {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 121%;
	text-align: left;
	color: var(--grey-808080);
	max-width: 204px;
	margin: 0;
}

.footer__sales {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer__address {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 15px;
	line-height: 113%;
	text-decoration: underline;
	text-decoration-skip-ink: none;
	color: var(--black-292929);
	margin: 0;
}

.footer__phone{
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 15px;
	line-height: 113%;
	color: var(--black-292929);
	margin: 0;
}
.footer__email {
	margin: 0;
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 15px;
	line-height: 113%;
	color: var(--black-292929);
}

.footer__phone {
	font-weight: 600;
}

.footer__phone a,
.footer__email a {
	color: var(--black-292929);
	text-decoration: none;
}

.footer__phone a:hover,
.footer__email a:hover {
	text-decoration: underline;
}

.footer__schedule {
	color: var(--black-292929);
	font-size: 15px;
	font-family: var(--font-family);
	line-height: 17px;
}

.footer__schedule p {
	margin: 0 0 12px;
}

.footer__schedule p:first-child {
	font-weight: 600;
}

.footer__schedule p:last-child {
	margin-bottom: 0;
}

.footer__form-wrapper {
	width: 100%;
}

/* Contact Form 7 / shortcode form styling */
.footer__form-wrapper .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 20px;
}

.footer__form-wrapper input[type="text"],
.footer__form-wrapper input[type="email"],
.footer__form-wrapper input[type="tel"] {
	width: 100%;
	padding: 3px 0 16px;
	font-size: 15px;
	font-family: var(--font-family);
	color: var(--black-292929);
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--line-dadada);
	outline: none;
}

.footer__form-wrapper input::placeholder {
	color: var(--grey-808080);
}

.footer__form-wrapper .wpcf7-submit,
.footer__form-wrapper input[type="submit"] {
	background-color: var(--black-292929);
	color: #fff;
	font-size: 13px;
	font-family: var(--font-family);
	font-weight: 500;
	text-transform: uppercase;
	padding: 10.5px 20px;
	border: none;
	cursor: pointer;
}

.footer__form-wrapper .wpcf7-submit:hover,
.footer__form-wrapper input[type="submit"]:hover {
	opacity: 0.9;
}

.footer__line {
	width: 100%;
	height: 1px;
	background-color: var(--line-dadada);
}

.footer__lower {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
}

.footer__copyright {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 143%;
	color: var(--grey-808080);
	flex: 1;
	max-width: 322px;
	width: 100%;
}

.footer__social {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 4px;
	justify-content: flex-start;
	width: 100%;
	max-width: 322px;
	flex: 1;
}

.footer__social--upper {
	display: none;
}

.footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--bg-f5f5f5);
	transition: opacity 0.2s;
}

.footer__social-link:hover {
	opacity: 0.8;
}

.footer__social-link svg {
	width: 28px;
	height: 28px;
}

.footer__social-link img {
	display: block;
	width: 28px;
	height: 28px;
}

.footer__legal {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 100%;
    max-width: 322px;
    flex: 1;
}

.footer__legal-link {
	color: var(--grey-808080);
	font-size: 14px;
	font-family: var(--font-family);
	line-height: 20px;
	text-decoration: none;
}

.footer__legal-link:hover {
	text-decoration: underline;
}

.footer__lower .footer__developer {
	width: 100%;
    max-width: 322px;
    flex: 1;
	text-align: right;
}

.footer__developer-link,
.footer__developer-text {
	color: var(--grey-808080);
	font-size: 14px;
	font-family: var(--font-family);
	line-height: 20px;
	text-decoration: none;
}

.footer__developer-link:hover {
	text-decoration: underline;
}

.footer__lower--mobile{
	display: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.footer__upper {
		flex-wrap: wrap;
	}

	.footer__col {
		flex: 1 1 calc(50% - 10px);
		min-width: 200px;
	}
}

@media (max-width: 600px) {
	.footer {
		padding: 30px 20px;
		gap: 30px;
	}

	.footer__col {
		flex: 1 1 100%;
	}

}

@media (max-width: 550px) {
	.footer__lower--desktop{
		display: none;
	}

	.footer__lower--mobile{
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: space-between;
	}

	.footer {
		margin-top: 60px;
		padding: 14px;
	}

	.footer__inner {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding: 0;
		gap: 46px;
	}

	.footer__upper {
		flex-direction: column;
		gap: 46px;
	}

	.footer__col {
		width: 100%;
		gap: 12px;
		min-width: 0;
		flex: none;
	}

	.footer__col--form {
		gap: 28px;
	}

	.footer__label {
		font-size: 12px;
		line-height: 20px;
	}

	.footer__label--bold {
		font-size: 20px;
		font-weight: 600;
		line-height: 20px;
	}

	.footer__developer {
		gap: 12px;
	}

	.footer__logo-img {
		height: 36px;
		max-width: 132px;
	}

	.footer__description {
		font-size: 14px;
		line-height: 17px;
		max-width: 208px;
	}

	.footer__sales {
		gap: 14px;
	}

	.footer__address,
	.footer__phone,
	.footer__phone a,
	.footer__email,
	.footer__email a {
		font-size: 15px;
		line-height: 17px;
	}

	.footer__phone,
	.footer__phone a {
		font-weight: 600;
	}

	.footer__schedule {
		font-size: 15px;
		line-height: 17px;
	}

	.footer__schedule p {
		margin-bottom: 12px;
	}

	.footer__schedule p:last-child {
		margin-bottom: 0;
	}

	.footer__form-wrapper input[type="text"],
	.footer__form-wrapper input[type="email"],
	.footer__form-wrapper input[type="tel"] {
		font-size: 15px;
		padding: 3px 0 16px;
	}

	.footer__form-wrapper input::placeholder {
		font-size: 15px;
	}

	.footer__form-wrapper .wpcf7-submit,
	.footer__form-wrapper input[type="submit"] {
		width: 100%;
		height: 42px;
		padding: 12px;
		font-size: 13px;
	}

	.footer__form-wrapper .wpcf7-form-control-wrap {
		margin-bottom: 28px;
	}

	.footer__line {
		width: 100%;
	}

	.footer__social--upper {
		display: flex;
		gap: 8px;
		width: 100%;
		max-width: 347px;
		flex: none;
	}

	.footer__social--lower {
		display: none;
	}

	.footer__legal {
		order: 1;
		width: 100%;
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: nowrap;
		max-width: 100%;
	}

	.footer__copyright {
		width: 50%;
		font-size: 14px;
		line-height: 17px;

	}

	.footer__lower .footer__developer {
		order: 3;
		flex: 1;
		min-width: 0;
		text-align: right;
		width: auto;
		max-width: none;
	}

	.footer__social-link {
		width: 28px;
		height: 28px;
	}

	.footer__social-link img {
		width: 28px;
		height: 28px;
	}

	.footer__legal-link {
		font-size: 14px;
		line-height: 20px;
		width: 44%;
	}

	.footer__developer-link,
	.footer__developer-text {
		font-size: 14px;
		line-height: 17px;
	}
}
