/* ==========================================================================
   INERGIX – footer
   ========================================================================== */

.ix-footer {
	background: var(--ix-bg);
	color: var(--ix-text);
}

.ix-footer-main {
	padding: 40px 0;
}

.ix-footer-grid {
	display: grid;
	grid-template-columns: 4fr 2fr 2fr 4fr;
	margin: 0 -15px;
}

.ix-footer-col {
	min-width: 0;
	padding: 0 15px;
}

.ix-footer-logo {
	display: block;
	margin-bottom: 20px;
}

.ix-footer-logo img {
	width: 250px;
	height: 40px;
	object-fit: contain;
}

.ix-footer-label {
	margin-bottom: 5px;
	font-size: 16px;
	font-weight: 600;
	line-height: 25.6px;
	color: var(--ix-dark);
}

.ix-footer-value {
	margin-bottom: 20px;
	font-size: 16px;
	font-weight: 600;
	line-height: 25.6px;
	color: var(--ix-text);
}

.ix-footer-value--last {
	margin-bottom: 0;
}

.ix-footer-value--tight {
	margin-bottom: 5px;
}

.ix-footer-value a {
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.ix-footer-value a:hover {
	color: var(--ix-primary-ink);
}

.ix-footer-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 20px;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 17.6px;
	font-weight: 700;
	line-height: 24.6px;
	text-align: left;
	color: var(--ix-dark);
	cursor: default;
}

.ix-footer-toggle-icon {
	display: none;
	width: 11.25px;
	height: 13px;
	font-size: 18px;
	font-weight: 400;
	line-height: 13px;
	text-align: center;
	color: var(--ix-dark);
}

.ix-footer-toggle-icon::before {
	content: "+";
	display: block;
}

.ix-footer-col.is-open .ix-footer-toggle-icon::before {
	content: "\2212";
}

.ix-footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 30px;
}

.ix-footer-links a {
	display: block;
	padding: 8px 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 20.8px;
	color: var(--ix-text);
	transition: color 0.2s ease;
}

.ix-footer-links a:hover {
	color: var(--ix-primary-ink);
}

/* Account card ----------------------------------------------------------- */
.ix-footer-account {
	padding: 30px;
	border-radius: var(--ix-radius);
	background: var(--ix-primary);
	color: var(--ix-on-primary);
}

.ix-footer-account h3 {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 700;
	line-height: 40px;
	color: var(--ix-on-primary);
}

.ix-footer-account p {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 26px;
	color: var(--ix-on-primary);
}

.ix-footer-account small {
	display: block;
	margin-top: 16px;
	font-size: 13px;
	line-height: 20px;
	color: rgba(6, 22, 52, 0.78);
}

.ix-footer-account small a {
	color: var(--ix-on-primary);
	text-decoration: underline;
}

/* Compact account form --------------------------------------------------- */
.ix-footer-account .wpcf7 {
	max-width: 100%;
	margin: 0;
}

.ix-footer-account .wpcf7-form {
	margin: 0;
}

.ix-footer-account .wpcf7-form > p,
.ix-footer-account .wpcf7-form > p > br:first-child {
	margin: 0;
}

.ix-footer-account .wpcf7-form > p > br:first-child {
	display: none;
}

.ix-acc-mini-grid {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	margin: 0;
}

.ix-footer-account .wpcf7-form > p.ix-acc-mini-field,
.ix-footer-account .wpcf7-form > p.ix-acc-mini-submit {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.ix-footer-account .wpcf7-form > p.ix-acc-mini-submit {
	flex: 0 0 auto;
}

.ix-acc-mini-field label {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ix-on-primary);
}

.ix-acc-mini-field label.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ix-acc-mini-req {
	color: rgba(6, 22, 52, 0.6);
}

.ix-acc-mini-field .wpcf7-form-control-wrap {
	display: block;
	min-width: 0;
}

.ix-footer-account input.ix-acc-mini-input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 0 12px;
	border: 1px solid rgba(6, 22, 52, 0.14);
	border-radius: 0;
	background: #fff;
	color: var(--ix-navy);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 42px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ix-footer-account input.ix-acc-mini-input::placeholder {
	color: #777;
	opacity: 1;
}

.ix-footer-account input.ix-acc-mini-input:focus {
	outline: none;
	border-color: var(--ix-navy);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.ix-footer-account input.ix-acc-mini-input.wpcf7-not-valid {
	border-color: var(--ix-navy);
	box-shadow: inset 0 0 0 1px var(--ix-navy);
}

.ix-footer-account .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.4;
	color: var(--ix-navy);
}

.ix-acc-mini-submit {
	flex: 0 0 auto;
}

.ix-footer-account input.ix-acc-mini-button {
	box-sizing: border-box;
	width: auto;
	height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid #fff;
	border-radius: 0;
	background: #fff;
	color: #3e3e3e;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 42px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ix-footer-account input.ix-acc-mini-button:hover {
	background: #e5e5e5;
	color: #3e3e3e;
}

.ix-footer-account input.ix-acc-mini-button:focus-visible {
	outline: 2px solid var(--ix-navy);
	outline-offset: 2px;
}

.ix-footer-account .wpcf7-response-output {
	width: 100%;
	margin: 10px 0 0;
	padding: 8px 12px;
	border: 0;
	border-left: 3px solid var(--ix-navy);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.72);
	color: var(--ix-navy);
	font-size: 12px;
	line-height: 1.5;
}

.ix-footer-account .wpcf7-response-output.wpcf7-invalid,
.ix-footer-account .wpcf7-response-output.wpcf7-mail-failed,
.ix-footer-account .wpcf7-response-output.wpcf7-spam-blocked {
	border-left-color: var(--ix-navy);
	color: var(--ix-navy);
}

.ix-footer-account .wpcf7-spinner {
	display: none;
}

.ix-footer-account-fallback {
	display: inline-block;
	padding: 12px 18px;
	border: 1px solid #fff;
	background: #fff;
	color: #3e3e3e;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 480px) {
	.ix-acc-mini-grid {
		gap: 6px;
	}

	.ix-footer-account input.ix-acc-mini-button {
		padding: 0 12px;
		font-size: 13px;
	}
}

/* Footer bottom ---------------------------------------------------------- */
.ix-footer-divider {
	height: 1px;
	margin-bottom: 20px;
	background: rgba(0, 0, 0, 0.11);
}

.ix-footer-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 0;
}

.ix-footer-bar p {
	font-size: 16px;
	line-height: 25.6px;
	color: var(--ix-text);
}

.ix-payment {
	width: 290px;
	height: 29px;
	max-width: 100%;
	object-fit: contain;
	object-position: right center;
}

@media (max-width: 1024px) {
	.ix-footer-grid {
		grid-template-columns: 5fr 3fr 3fr;
		row-gap: 0;
	}

	.ix-footer-col:nth-child(4) {
		grid-column: 1 / -1;
	}

	.ix-footer-links {
		margin-bottom: 30px;
	}

	.ix-footer-account {
		padding: 25px;
	}
}

@media (max-width: 767px) {
	.ix-footer-grid {
		grid-template-columns: 1fr;
	}

	.ix-footer-col:nth-child(4) {
		grid-column: auto;
	}

	.ix-footer-title {
		margin-bottom: 30px;
		cursor: pointer;
	}

	.ix-footer-toggle-icon {
		display: block;
	}

	.ix-footer-links {
		display: none;
		margin-bottom: 30px;
	}

	.ix-footer-col.is-open .ix-footer-links {
		display: flex;
	}

	.ix-footer-bar {
		flex-direction: column;
		align-items: center;
		gap: 0;
		padding: 0 0 20px;
		text-align: center;
	}

	.ix-footer-bar p {
		margin-bottom: 20px;
	}

	.ix-payment {
		margin-bottom: 20px;
	}
}
