/* OQ Footer v1.4.0 — layouts respond to the footer's own width (container queries). */
.oqf-wrap {
	--oqf-bg: #140a18; --oqf-card: #221028; --oqf-text: #efe6f3; --oqf-muted: #b9a6c2; --oqf-heading: #fff;
	--oqf-accent: #b6359c; --oqf-accent-text: #fff; --oqf-link: #efe6f3; --oqf-link-hover: #e879c9;
	--oqf-btn-bg: #0d0610; --oqf-btn-text: #fff; --oqf-border: #3a2242; --oqf-bottom: #0d0610;
	--oqf-radius: 18px; --oqf-max: 1200px; --oqf-logo-w: 180px;
	container-type: inline-size;
	container-name: oqf;
	background: var(--oqf-bg);
	color: var(--oqf-text);
	clear: both;
	position: relative;
	z-index: 1;
	font-size: 15px;
	line-height: 1.6;
	box-sizing: border-box;
}
.oqf-wrap *, .oqf-wrap *::before, .oqf-wrap *::after { box-sizing: border-box; }
.oqf-wrap.oqf-boxed { padding: 48px 20px 0; }

.oqf { margin: 0 auto; }
.oqf-boxed .oqf { max-width: var(--oqf-max); }

.oqf-inner { background: var(--oqf-card); overflow: hidden; }
.oqf-boxed .oqf-inner {
	border: 1px solid var(--oqf-border);
	border-bottom: 0;
	border-radius: var(--oqf-radius) var(--oqf-radius) 0 0;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
}

/* ---------- Desktop: 4 columns ---------- */
.oqf-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
	grid-template-areas:
		"logo   l2 l3 contact"
		"about  l2 l3 contact"
		"social l2 l3 contact"
		"cta    l2 l3 contact";
	grid-template-rows: auto auto auto 1fr;
	column-gap: 44px;
	row-gap: 18px;
	align-items: start;
	padding: 52px 48px 44px;
	max-width: var(--oqf-max);
	margin: 0 auto;
}
.oqf-logo    { grid-area: logo; }
.oqf-about   { grid-area: about; }
.oqf-social  { grid-area: social; }
.oqf-cta     { grid-area: cta; }
.oqf-l2      { grid-area: l2; }
.oqf-l3      { grid-area: l3; }
.oqf-contact { grid-area: contact; }

.oqf-col { border-left: 1px solid var(--oqf-border); padding-left: 32px; align-self: stretch; }

.oqf-logo a { display: inline-block; text-decoration: none; }
.oqf-logo img { display: block; width: var(--oqf-logo-w); max-width: 100%; height: auto; }
.oqf-sitename { font-size: 26px; font-weight: 900; letter-spacing: .02em; color: var(--oqf-heading); text-transform: uppercase; }

.oqf-wrap h3.oqf-about-title, .oqf-wrap h4.oqf-title {
	margin: 0 0 14px;
	padding: 0;
	color: var(--oqf-heading);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	border: 0;
}
.oqf-wrap h4.oqf-title::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-top: 10px;
	border-radius: 3px;
	background: var(--oqf-accent);
}
.oqf-about-text { color: var(--oqf-muted); }
.oqf-about-text p { margin: 0 0 10px; color: inherit; }
.oqf-about-text p:last-child { margin-bottom: 0; }
.oqf-about-text a { color: var(--oqf-link-hover); }

.oqf-social { display: flex; flex-wrap: wrap; gap: 10px; }
.oqf-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--oqf-border);
	color: var(--oqf-text);
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.oqf-social a:hover { background: var(--oqf-accent); border-color: var(--oqf-accent); color: var(--oqf-accent-text); transform: translateY(-2px); }
.oqf-social svg { width: 19px; height: 19px; }

.oqf-wrap a.oqf-cta-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 180px; padding: 13px 26px;
	background: var(--oqf-accent); color: var(--oqf-accent-text);
	border-radius: calc(var(--oqf-radius) * .6);
	font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--oqf-accent) 35%, transparent);
	transition: filter .2s, transform .2s;
}
.oqf-wrap a.oqf-cta-btn:hover { filter: brightness(1.1); transform: translateY(-1px); color: var(--oqf-accent-text); }

.oqf-col ul { list-style: none; margin: 0; padding: 0; }
.oqf-col li { margin: 0 0 10px; padding: 0; }
.oqf-col li::before { display: none; }
.oqf-l2 a, .oqf-l3 a {
	color: var(--oqf-link);
	text-decoration: none;
	display: inline-block;
	transition: color .2s, transform .2s;
}
.oqf-l2 a:hover, .oqf-l3 a:hover { color: var(--oqf-link-hover); transform: translateX(3px); }

.oqf-biz { margin: 0 0 12px; font-weight: 700; color: var(--oqf-heading); }
.oqf-contact-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--oqf-muted); }
.oqf-contact-list a { color: var(--oqf-link); text-decoration: none; word-break: break-word; }
.oqf-contact-list a:hover { color: var(--oqf-link-hover); }
.oqf-ic { flex: 0 0 auto; display: inline-flex; color: var(--oqf-accent); margin-top: 3px; }
.oqf-ic svg { width: 17px; height: 17px; }

.oqf-wrap a.oqf-mail-btn {
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 8px; padding: 10px 18px;
	border: 1.5px solid var(--oqf-accent);
	border-radius: calc(var(--oqf-radius) * .6);
	color: var(--oqf-text); font-weight: 700; text-decoration: none;
	transition: background .2s, color .2s;
}
.oqf-wrap a.oqf-mail-btn svg { width: 17px; height: 17px; }
.oqf-wrap a.oqf-mail-btn:hover { background: var(--oqf-accent); color: var(--oqf-accent-text); }

.oqf-bottom { background: var(--oqf-bottom); border-top: 1px solid var(--oqf-border); }
.oqf-bottom-in {
	max-width: var(--oqf-max);
	margin: 0 auto;
	padding: 18px 48px 22px;
	display: flex; gap: 24px; align-items: flex-start; justify-content: space-between;
	font-size: 13px; color: var(--oqf-muted);
}
.oqf-copy { color: var(--oqf-text); white-space: nowrap; }
.oqf-legal { text-align: right; }
.oqf-bottom a { color: var(--oqf-link-hover); text-decoration: none; }
.oqf-bottom a:hover { text-decoration: underline; }

/* ---------- Tablet ---------- */
@container oqf (max-width: 960px) {
	.oqf-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"logo   contact"
			"about  contact"
			"social contact"
			"cta    contact"
			"l2     l3";
		grid-template-rows: auto auto auto auto auto;
		padding: 40px 32px;
		row-gap: 20px;
	}
	.oqf-l2 { border-left: 0; padding-left: 0; }
	.oqf-l2, .oqf-l3 { border-top: 1px solid var(--oqf-border); padding-top: 26px; margin-top: 8px; }
	.oqf-bottom-in { padding: 18px 32px 22px; }
}

/* ---------- Mobile: two-column buttons ---------- */
@container oqf (max-width: 640px) {
	.oqf-wrap.oqf-boxed { padding: 20px 10px 0; }
	.oqf-grid {
		grid-template-columns: 1fr;
		grid-template-areas: "l2" "cta" "l3" "about" "social" "logo" "contact";
		row-gap: 26px;
		padding: 30px 22px 30px;
		text-align: center;
	}
	.oqf-col, .oqf-l2, .oqf-l3 { border-left: 0; padding-left: 0; border-top: 0; padding-top: 0; margin-top: 0; }

	.oqf-mbtn .oqf-l2 h4.oqf-title, .oqf-mbtn .oqf-l3 h4.oqf-title { display: none; }
	.oqf-mbtn .oqf-l2 ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
	.oqf-mbtn .oqf-l2 li { margin: 0; }
	.oqf-mbtn .oqf-l2 li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
	.oqf-mbtn .oqf-l2 a {
		display: flex; align-items: center; justify-content: center;
		min-height: 50px; padding: 10px 8px;
		background: var(--oqf-btn-bg); color: var(--oqf-btn-text);
		border-radius: calc(var(--oqf-radius) * .5);
		font-weight: 900; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2;
	}
	.oqf-mbtn .oqf-l2 a:hover { transform: none; color: var(--oqf-btn-text); filter: brightness(1.35); }

	.oqf-cta { width: 100%; }
	.oqf-wrap a.oqf-cta-btn { display: flex; width: 100%; padding: 15px 20px; font-size: 18px; }

	.oqf-l3 { text-align: left; border-left: 4px solid var(--oqf-border); padding: 4px 0 4px 22px; margin: 0 10px; }
	.oqf-l3 li { margin: 0 0 14px; }
	.oqf-l3 li:last-child { margin-bottom: 0; }
	.oqf-l3 a { font-size: 17px; }

	.oqf-wrap h3.oqf-about-title { font-size: 18px; letter-spacing: .32em; margin-bottom: 14px; }
	.oqf-about-text { font-size: 16px; letter-spacing: .02em; }
	.oqf-social { justify-content: center; gap: 16px; }
	.oqf-social a { width: 48px; height: 48px; border: 0; }
	.oqf-social svg { width: 30px; height: 30px; }
	.oqf-logo { justify-self: center; }

	.oqf-contact { border-top: 1px solid var(--oqf-border); padding-top: 24px; }
	.oqf-contact h4.oqf-title::after { margin-left: auto; margin-right: auto; }
	.oqf-contact-list li { justify-content: center; }

	.oqf-bottom-in { flex-direction: column; align-items: center; text-align: center; padding: 18px 22px 24px; gap: 10px; }
	.oqf-copy { white-space: normal; }
	.oqf-legal { text-align: center; }
}

/* v1.1.0: social icons inside column 4 */
.oqf-wrap .oqf-social-c4 { margin-top: 20px; }
