/* Viccon footer — balanced multi-column layout */

.viccon-footer-main {
	background: #f3f4f6;
	border-top: 1px solid #e5e7eb;
}

.viccon-footer-main.footer-bottom-widgets {
	padding: 2.25rem 0 2rem;
	float: none;
	width: 100%;
	clear: both;
	margin-left: 0;
	margin-right: 0;
}

.viccon-footer-main.footer-bottom-widgets::after {
	display: none;
}

/* Reset theme footer list spacing */
.viccon-footer-main ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.viccon-footer-main.footer-bottom-widgets ul > li + li {
	margin-top: 0;
}

.viccon-footer-col {
	min-width: 0;
	float: none;
	display: block;
}

.viccon-footer-layout {
	display: grid;
	align-items: start;
	gap: 2rem 2.5rem;
}

.viccon-footer-layout--cols-3 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
}

.viccon-footer-layout--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Brand column */
.viccon-footer-col--brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.viccon-footer-logo {
	display: inline-block;
	line-height: 0;
}

.viccon-footer-logo img {
	display: block;
	max-width: 105px;
	height: auto;
}

.viccon-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.viccon-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #dde1e6;
	color: #6b7280;
	font-size: 0.95rem;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.viccon-footer-social a:hover,
.viccon-footer-social a:focus {
	color: #df3737;
	border-color: #df3737;
}

/* Shared headings */
.viccon-footer-heading {
	margin: 0 0 0.85rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid #df3737;
	font-size: 0.875rem;
	font-weight: 700;
	color: #333e48;
	text-transform: none;
	letter-spacing: 0;
}

/* Contact column */
.viccon-footer-contact > li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.viccon-footer-contact > li + li {
	margin-top: 0.75rem;
}

.viccon-footer-contact i {
	flex: 0 0 auto;
	width: 1rem;
	margin-top: 0.15rem;
	color: #df3737;
	font-size: 1rem;
	line-height: 1;
}

.viccon-footer-contact span {
	flex: 1 1 auto;
	min-width: 0;
	color: #4b5563;
	font-size: 0.875rem;
	line-height: 1.45;
}

.viccon-footer-contact-note {
	display: block;
	margin-bottom: 0.15rem;
	font-size: 0.78rem;
	color: #6b7280;
}

.viccon-footer-phone {
	display: inline-block;
	font-size: 1.35rem;
	font-weight: 700;
	color: #df3737;
	text-decoration: none;
	line-height: 1.2;
}

.viccon-footer-phone:hover,
.viccon-footer-phone:focus {
	color: #b91c1c;
}

.viccon-footer-contact a {
	color: #333e48;
	font-weight: 500;
	text-decoration: none;
	word-break: break-word;
}

.viccon-footer-contact a:hover,
.viccon-footer-contact a:focus {
	color: #df3737;
}

/* Menu columns */
.viccon-footer-menu > li + li {
	margin-top: 0.45rem;
}

.viccon-footer-menu a {
	display: block;
	color: #4b5563;
	font-size: 0.875rem;
	line-height: 1.35;
	text-decoration: none;
	transition: color 0.2s ease;
}

.viccon-footer-menu a:hover,
.viccon-footer-menu a:focus {
	color: #df3737;
}

/* Copyright bar */
.viccon-footer-bar.copyright-bar {
	background: #333e48;
	padding: 0.85rem 0;
	float: none;
	width: 100%;
	clear: both;
}

.viccon-footer-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	flex-wrap: wrap;
}

.viccon-footer-bar__left {
	flex: 1 1 360px;
	min-width: 0;
}

.viccon-footer-copy {
	margin: 0 0 0.25rem;
	color: #e5e7eb;
	font-size: 0.85rem;
	line-height: 1.4;
}

.viccon-footer-copy a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.viccon-footer-copy a:hover,
.viccon-footer-copy a:focus {
	color: #fca5a5;
}

.viccon-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.85rem;
}

.viccon-footer-legal a {
	color: #cbd5e1;
	font-size: 0.8rem;
	font-weight: 500;
	text-decoration: none;
}

.viccon-footer-legal a:hover,
.viccon-footer-legal a:focus {
	color: #fff;
	text-decoration: underline;
}

.viccon-footer-bar__right {
	flex: 0 0 auto;
}

.viccon-footer-bar .footer-payment-logo {
	color: #94a3b8;
	font-size: 0.8rem;
}

.viccon-footer-bar .footer-payment-logo a {
	color: #e2e8f0;
	font-weight: 600;
	text-decoration: none;
}

.viccon-footer-bar .footer-payment-logo a:hover,
.viccon-footer-bar .footer-payment-logo a:focus {
	color: #fff;
}

@media (max-width: 991px) {
	.viccon-footer-layout--cols-3,
	.viccon-footer-layout--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.viccon-footer-col--brand {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (max-width: 575px) {
	.viccon-footer-main.footer-bottom-widgets {
		padding: 1.5rem 0 1.25rem;
	}

	.viccon-footer-layout--cols-3,
	.viccon-footer-layout--cols-4 {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.viccon-footer-col--brand {
		flex-direction: column;
		align-items: flex-start;
	}

	.viccon-footer-bar__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.viccon-footer-bar__right {
		padding-top: 0.35rem;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		width: 100%;
	}
}
