/* ==========================================================================
   Footer
   ========================================================================== */

.ycp-footer.ycp-footer {
	position: relative;
	padding-top: clamp(56px, 7vw, 88px);
	background: var(--ycp-navy-900);
	color: rgba(255, 255, 255, .72);
	font-size: .95rem;
	overflow: hidden;
}
.ycp-footer.ycp-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, var(--ycp-saffron) 0 33.3%, #fff 33.3% 66.6%, var(--ycp-green) 66.6%);
	opacity: .9;
}
.ycp-footer.ycp-footer a { color: rgba(255, 255, 255, .78); transition: color var(--ycp-dur); }
.ycp-footer.ycp-footer a:hover { color: #fff; }

.ycp-footer__grid.ycp-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 640px) { .ycp-footer__grid.ycp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ycp-footer__grid.ycp-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 56px; } }

.ycp.ycp .ycp-footer__logo img { height: 104px; width: auto; margin-bottom: 18px; }
.ycp-footer__brand.ycp-footer__brand p { max-width: 36ch; margin-bottom: 22px; line-height: 1.7; }
.ycp-footer__brand.ycp-footer__brand .ycp-btn { color: #fff !important; }

.ycp.ycp .ycp-footer__title {
	position: relative;
	margin-bottom: 20px; padding-bottom: 12px;
	font-size: 1rem; font-weight: 700; letter-spacing: .02em;
	color: #fff;
}
.ycp-footer__title.ycp-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--ycp-saffron); }
.ycp-footer__col.ycp-footer__col ul { display: grid; gap: 10px; }
.ycp-footer__col.ycp-footer__col ul a { display: inline-flex; align-items: center; }
.ycp-footer__col.ycp-footer__col ul a::before {
	content: ""; width: 0; height: 1.5px; margin-right: 0; background: var(--ycp-saffron);
	transition: width var(--ycp-dur) var(--ycp-ease), margin var(--ycp-dur) var(--ycp-ease);
}
.ycp-footer__col.ycp-footer__col ul a:hover::before { width: 12px; margin-right: 8px; }

.ycp-footer__contact.ycp-footer__contact address { font-style: normal; display: grid; gap: 16px; }
.ycp-footer__contact.ycp-footer__contact p { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.ycp-footer__contact.ycp-footer__contact .ycp-icon {
	width: 34px; height: 34px; padding: 8px; flex: none;
	border-radius: 9px;
	background: rgba(255, 255, 255, .07);
	color: var(--ycp-gold);
}

.ycp-footer__bottom.ycp-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
	padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .85rem;
	color: rgba(255, 255, 255, .55);
}
.ycp-footer__legal.ycp-footer__legal { display: flex; gap: 20px; }
