/* ============================================
   footer.css — ТОЛЬКО ФУТЕР
   Подключать ПОСЛЕ main.css (перебивает старые стили)
   ============================================ */

/* Высокая специфичность, чтобы гарантированно победить
   старые правила из main.css (там footer flex, padding-left, c-title::after). */

html body footer {
	background: #030E27;
	color: #a0aec0;
	font-family: 'Montserrat', sans-serif;
	padding: 60px clamp(20px, 8.33vw, 160px) 0;
	margin-top: 0;
}

html body footer * {
	font-family: 'Montserrat', sans-serif !important;
}

html body footer .cont {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

/* ===== Сетка 4 колонок: Разделы / Контакты / История / Подписка ===== */
html body footer .container-footer {
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr 1.4fr;
	gap: 32px;
	padding-left: 0;
	align-items: start;
	flex-wrap: nowrap;
	flex-direction: unset;
}

html body footer .col {
	margin-right: 0;
	margin-bottom: 0;
}

/* ===== Заголовки колонок ===== */
html body footer .col .c-title {
	color: #FF7800;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .6px;
	margin-bottom: 20px;
	line-height: 1.2;
}
html body footer .col .c-title::after {
	display: none;
	content: none;
}

/* ===== Списки ссылок/контактов ===== */
html body footer .col ul.menu,
html body footer .col .contacts-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

html body footer .col ul.menu li,
html body footer .col .contacts-list li {
	margin: 0 0 10px 0;
	padding: 0;
}

html body footer .col ul.menu li::before,
html body footer .col .contacts-list li::before {
	display: none;
	content: none;
}

html body footer .col ul.menu li a,
html body footer .col .contacts-list li a,
html body footer .col .contacts-list li span {
	color: rgba(255, 255, 255, .85);
	font-size: 14px;
	text-decoration: none;
	transition: color .2s;
	font-weight: 400;
	line-height: 1.4;
}

html body footer .col ul.menu li a:hover,
html body footer .col .contacts-list li a:hover {
	color: #FF7800;
}

/* ===== Колонка подписки ===== */
html body footer .col--subscribe {
	max-width: 320px;
}

html body footer .col--subscribe form,
html body footer .col--subscribe .wpcf7-form {
	margin: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
}

html body footer .col--subscribe .wpcf7-form-control-wrap,
html body footer .col--subscribe p {
	width: 100%;
	margin-bottom: 12px;
	display: block;
}

html body footer .col--subscribe input[type="text"],
html body footer .col--subscribe input[type="email"],
html body footer .col--subscribe input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
	padding: 13px 16px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	border-radius: 8px;
	outline: none;
	transition: border-color .2s, background .2s;
	box-sizing: border-box;
	margin: 0;
}

html body footer .col--subscribe input:focus {
	border-color: #FF7800;
	background: rgba(255, 255, 255, .08);
}

html body footer .col--subscribe input::placeholder {
	color: rgba(255, 255, 255, .4);
}

html body footer .col--subscribe button,
html body footer .col--subscribe input[type="submit"],
html body footer .col--subscribe .wpcf7-submit {
	width: 100%;
	padding: 13px 20px;
	background: #FF7800;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background .2s, transform .15s;
	margin: 0;
	line-height: 1.2;
	box-sizing: border-box;
}

html body footer .col--subscribe button:hover,
html body footer .col--subscribe input[type="submit"]:hover,
html body footer .col--subscribe .wpcf7-submit:hover {
	background: #E56B00;
	transform: translateY(-1px);
}

html body footer .col--subscribe button:active,
html body footer .col--subscribe input[type="submit"]:active {
	transform: translateY(0);
}

html body footer .col--subscribe .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 10px 14px;
	font-size: 13px;
	border-radius: 6px;
	border: none;
	background: rgba(255, 120, 0, .15);
	color: #fff;
}
html body footer .col--subscribe .wpcf7-not-valid-tip {
	font-size: 12px;
	color: #ff6b6b;
	margin-top: 4px;
}

/* ===== Разделитель + копирайт снизу ===== */
html body footer .line-footer {
	height: 1px;
	background: rgba(255, 255, 255, .1);
	margin: 50px 0 0;
	width: 100%;
}

html body footer .footer-bottom {
	padding: 24px 0;
	background: transparent;
}

html body footer .footer-bottom .cont {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
}

html body footer .footer-bottom .copy-text {
	color: rgba(255, 255, 255, .5);
	font-size: 13px;
	text-align: center;
	margin: 0;
	line-height: 1.5;
}

/* ===== Старые блоки — скрыть ===== */
html body footer .monomax-logo,
html body footer .photos-container,
html body footer .footer-subscribe {
	display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	html body footer .container-footer {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
	html body footer .col--subscribe {
		grid-column: 1 / -1;
		max-width: 400px;
	}
}

@media (max-width: 640px) {
	html body footer {
		padding: 40px 16px 0;
	}
	html body footer .container-footer {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	html body footer .col--subscribe {
		grid-column: auto;
		max-width: 100%;
	}
}
