/* Cacio 2 Footer, matched to the approved four-column prototype. */
.cacio-footer {
	background: var(--cacio-global-warm, #e5dfd1);
	color: var(--cacio-global-ink, #1d211d);
	padding: clamp(52px, 7vw, 92px) var(--cacio-header-gutter) 22px;
}

.cacio-footer .footer-inner {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr));
	gap: clamp(28px, 5vw, 76px);
	align-items: start;
}

.cacio-footer .footer-logo {
	display: block;
	width: 115px;
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.cacio-footer .footer-contact p {
	max-width: 260px;
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.8;
}

.cacio-footer .footer-contact-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: #565751;
}

.cacio-footer a {
	color: inherit;
	text-decoration: none;
}

.cacio-footer .footer-contact-list a:hover,
.cacio-footer .footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.cacio-footer .footer-links {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.cacio-footer .footer-column h3 {
	margin: 2px 0 16px;
		color: var(--cacio-global-green, #50604d);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.14em;
}

.cacio-footer .footer-links a,
.cacio-footer .footer-pending {
	font-size: 12px;
	line-height: 1.7;
}

.cacio-footer .footer-details {
	margin: 0;
	padding: 0;
	border: 0;
}

.cacio-footer .footer-details > summary {
	display: block;
	list-style: none;
}

.cacio-footer .footer-details > summary::-webkit-details-marker {
	display: none;
}

.cacio-footer .footer-details > summary::after {
	content: none;
}

.cacio-footer .footer-details-content {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.cacio-footer .footer-details:not([open]) > .footer-details-content {
	display: none;
}

.cacio-footer .footer-pending {
	color: #77766e;
}

.cacio-footer .copyright {
	max-width: 1320px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin: 64px auto 0;
	padding-top: 14px;
	padding-inline-end: 56px;
	border-top: 1px solid #c7c2b7;
	color: #77766e;
	font-size: 10px;
}

.cacio-footer .copyright-note {
	white-space: nowrap;
}

@media (min-width: 801px) {
	.cacio-footer .footer-details > summary {
		cursor: default;
		pointer-events: none;
	}

	.cacio-footer .footer-details-content {
		display: flex;
	}
}

@media (min-width: 801px) and (max-width: 880px) {
	.cacio-footer .footer-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 24px;
	}

	.cacio-footer .footer-inner > .footer-contact {
		grid-column: 1 / -1;
	}
}

@media (max-width: 800px) {
	.cacio-footer {
		padding-top: 48px;
		padding-bottom: 18px;
	}

	.cacio-footer .footer-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.cacio-footer .footer-column {
		border-top: 1px solid #c7c2b7;
	}

	.cacio-footer .footer-details > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 52px;
		padding: 4px 0;
		cursor: pointer;
	}

	.cacio-footer .footer-details > summary::after {
		content: '＋';
		font-size: 18px;
		font-weight: 400;
	}

	.cacio-footer .footer-details[open] > summary::after {
		content: '－';
	}

	.cacio-footer .footer-details > summary h3 {
		margin: 0;
	}

	.cacio-footer .footer-details-content {
		display: flex;
		padding: 0 0 14px;
		gap: 8px;
	}

	.cacio-footer .footer-details-content a,
	.cacio-footer .footer-details-content .footer-pending {
		display: block;
		min-height: 36px;
		padding: 8px 0;
	}

	.cacio-footer .footer-contact-list a[href^="tel:"] {
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.cacio-footer .copyright {
		display: block;
		margin-top: 42px;
		padding-inline-end: 52px;
		line-height: 1.8;
	}

	.cacio-footer .copyright-note {
		display: block;
		margin-top: 4px;
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cacio-footer *,
	.cacio-footer *::before,
	.cacio-footer *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}


/* Footer home logo link: pointer affordance with keyboard-visible focus. */
.cacio-footer .footer-logo-link {
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
}

.cacio-footer .footer-logo-link:focus:not(:focus-visible) {
	outline: none;
}

.cacio-footer .footer-logo-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}


/* Keep all three footer column headings at one shared desktop hierarchy. */
@media (min-width: 801px) {
	.cacio-footer .footer-column h3 {
		font-size: 13px;
	}
}


/* Match all footer column heading sizes on mobile. */
@media (max-width: 800px) {
	.cacio-footer .footer-column h3 {
		font-size: 13px;
	}
}

/* F01: only optional/editor-configured content; approved initial grid preserved. */
.cacio-footer .footer-column,.cacio-footer .footer-contact{min-width:0}
.cacio-footer .footer-column h3,.cacio-footer .footer-contact-list,.cacio-footer .footer-native-menu a{overflow-wrap:anywhere}
.cacio-footer .footer-native-menu,.cacio-footer .footer-native-menu .sub-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.cacio-footer .footer-native-menu li{list-style:none;margin:0;padding:0;min-width:0}
.cacio-footer .footer-native-menu .sub-menu{padding-inline-start:12px;margin-top:7px}
.cacio-footer .footer-native-menu a{display:block;font-size:12px;line-height:1.7;color:inherit;text-decoration:none}
.cacio-footer .footer-native-menu a:hover{text-decoration:underline;text-underline-offset:4px}
.cacio-footer .footer-native-menu a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.cacio-footer.footer-empty .copyright{margin-top:0}
@media(min-width:881px){.cacio-footer .footer-inner[data-footer-flex]{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}}
@media(max-width:800px){.cacio-footer .footer-native-menu,.cacio-footer .footer-native-menu .sub-menu{gap:8px}}
