/* ==========================================================================
   Footer — the dense, dark closing of the main site: glass action boxes,
   brand with coloured gateways, link columns, contact boxes, trust strip, base.
   ========================================================================== */

.acur-foot {
	position: relative; margin-top: clamp(40px, 5vw, 72px);
	color: rgba(255, 255, 255, .68);
	background:
		radial-gradient(900px 420px at 92% -10%, rgba(243, 112, 33, .14), transparent 60%),
		radial-gradient(800px 420px at 0% 100%, rgba(31, 111, 214, .24), transparent 60%),
		linear-gradient(180deg, #071F47, var(--acur-navy-dd) 70%, #030F26);
}
.acur-foot__line { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--acur-orange) 25%, var(--acur-azure) 75%, transparent); filter: drop-shadow(0 1px 6px rgba(243, 112, 33, .45)); }
.home .acur-foot { margin-top: var(--acur-section-y); }
.acur-foot :focus-visible { box-shadow: 0 0 0 2px var(--acur-navy-dd), 0 0 0 4px #fff; }
.acur-foot a { color: inherit; text-decoration: none; }

/* 1 · Action boxes */
.acur-foot__actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(32px, 3.8vw, 52px) 0 0; padding: 0; list-style: none; }
.acur-foot__action { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .2s var(--acur-ease), transform .25s var(--acur-ease); }
.acur-foot__action:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.acur-foot__action-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(160deg, var(--acur-blue), var(--acur-navy)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff; }
.acur-foot__action-text, .acur-foot__box-text, .acur-foot__gate-text, .acur-foot__badge-text { display: grid; min-width: 0; line-height: 1.25; }
.acur-foot__action-text b, .acur-foot__box-text b, .acur-foot__gate-text b, .acur-foot__badge-text b { overflow: hidden; color: #fff; font-size: var(--acur-fs-sm); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.acur-foot__action-text small, .acur-foot__box-text small, .acur-foot__gate-text small, .acur-foot__badge-text small { margin-top: 2px; overflow: hidden; color: rgba(255, 255, 255, .58); font-size: .6875rem; text-overflow: ellipsis; white-space: nowrap; }

/* 2 · Brand, gateways, columns, contact */
.acur-foot__grid { display: grid; grid-template-columns: minmax(0, 3.2fr) repeat(3, minmax(0, 1.5fr)) minmax(0, 2.6fr); gap: clamp(22px, 3vw, 44px); align-items: stretch; padding: clamp(28px, 3.4vw, 44px) 0 clamp(22px, 2.6vw, 32px); }
.acur-foot__col { display: flex; flex-direction: column; }
.acur-foot__list { display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.acur-foot__brand { display: flex; flex-direction: column; align-items: flex-start; }
.acur-foot__logo { display: inline-flex; align-items: center; gap: 12px; border-radius: 8px; }
.acur-foot__logo-img { width: auto; height: 40px; }
.acur-foot__logo-rule { width: 1px; height: 26px; background: rgba(255, 255, 255, .3); }
.acur-foot__logo-label { color: #fff; font-family: var(--acur-font-heading); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.acur-foot__about { margin-top: 16px; max-width: 44ch; padding-left: 14px; border-left: 2px solid rgba(243, 112, 33, .6); font-size: var(--acur-fs-sm); line-height: 1.7; }
.acur-foot__gates { display: grid; gap: 8px; width: 100%; max-width: 420px; margin-top: 18px; }
.acur-foot__gate { --tone: var(--acur-azure); display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .2s var(--acur-ease), transform .25s var(--acur-ease), box-shadow .2s var(--acur-ease); }
.acur-foot__gate--coral { --tone: var(--acur-coral); }
.acur-foot__gate--azure { --tone: var(--acur-azure); }
.acur-foot__gate--teal { --tone: var(--acur-teal); }
.acur-foot__gate-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--tone); color: #fff; box-shadow: 0 8px 18px -8px var(--tone); }
.acur-foot__gate-text { flex: 1; }
.acur-foot__gate-arrow { flex: none; color: rgba(255, 255, 255, .45); transition: transform .3s var(--acur-ease), color .2s var(--acur-ease); }
.acur-foot__gate:hover { background: rgba(255, 255, 255, .1); transform: translateX(3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 60%, transparent); }
.acur-foot__gate:hover .acur-foot__gate-arrow { color: var(--tone); transform: translateX(3px); }

.acur-foot__h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding-top: 6px; color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.acur-foot__h::after { content: ""; width: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--acur-orange), transparent); }
.acur-foot__list { margin: 0; padding: 0; list-style: none; }
.acur-foot__list li { min-width: 0; }
.acur-foot__link { display: inline-block; max-width: 100%; padding: 5px 0; overflow: hidden; color: rgba(255, 255, 255, .72); font-size: var(--acur-fs-sm); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; transition: color .2s var(--acur-ease), transform .25s var(--acur-ease); }
.acur-foot__link:hover { color: #fff; transform: translateX(3px); }

.acur-foot__contact { display: grid; gap: 8px; }
.acur-foot__box { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .2s var(--acur-ease), transform .25s var(--acur-ease); }
a.acur-foot__box:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.acur-foot__box-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(243, 112, 33, .14); box-shadow: inset 0 0 0 1px rgba(243, 112, 33, .32); color: var(--acur-orange-l); }
.acur-foot__box-text small { white-space: normal; }
.acur-foot__write { width: 100%; min-height: 44px; margin-top: 10px; }
.acur-foot__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.acur-foot__social-link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); transition: background-color .2s var(--acur-ease), color .2s var(--acur-ease), transform .25s var(--acur-ease); }
.acur-foot__social-link:hover { background: var(--acur-orange); color: #fff; transform: translateY(-2px); }

/* 3 · Trust strip */
.acur-foot__trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 clamp(22px, 2.6vw, 32px); padding: 0; list-style: none; }
.acur-foot__badge { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 14px 8px 10px; border-radius: 12px; background: rgba(243, 112, 33, .05); box-shadow: inset 0 0 0 1px rgba(243, 112, 33, .22); }
.acur-foot__badge-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(243, 112, 33, .12); color: var(--acur-orange-l); }
.acur-foot__badge-text b, .acur-foot__badge-text small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.acur-foot__badge-text b { font-size: var(--acur-fs-xs); }
.acur-foot__badge-link { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--acur-orange-l) !important; }
.acur-foot__badge-link:hover { text-decoration: underline; }

/* 4 · Base line */
.acur-foot__base { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); }
.acur-foot__base-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 56px; padding-block: 10px; font-size: var(--acur-fs-xs); }
.acur-foot__copy { color: rgba(255, 255, 255, .5); line-height: 1.5; }
.acur-foot__baselinks { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.acur-foot__baselinks a { color: rgba(255, 255, 255, .65); font-weight: 500; }
.acur-foot__baselinks a:hover { color: #fff; }
.acur-foot__topbtn { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 34px; padding: 0 4px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font-weight: 600; transition: background-color .2s var(--acur-ease); }
.acur-foot__topbtn-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--acur-orange); color: #fff; }
.acur-foot__topbtn:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Standard pages */
.acur-page { max-width: 920px; margin-inline: auto; padding: clamp(24px, 4vw, 52px); }
.acur-page__title { font-size: var(--acur-fs-h2); }
.acur-page__content { margin-top: 20px; color: var(--acur-ink-2); }
.acur-page__content > * + * { margin-top: 1em; }

@media (max-width: 1279px) {
	.acur-foot__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acur-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.acur-foot__brand { grid-column: 1 / -1; }
	.acur-foot__col--contact { grid-column: 1 / -1; }
	.acur-foot__list { justify-content: flex-start; }
	.acur-foot__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acur-foot__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.acur-foot__actions, .acur-foot__contact, .acur-foot__trust { grid-template-columns: minmax(0, 1fr); }
	.acur-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.acur-foot__brand, .acur-foot__col--contact { grid-column: 1 / -1; }
	.acur-foot__col:nth-child(4) { grid-column: 1 / -1; }
	.acur-foot__list { display: block; }
	.acur-foot__col:nth-child(4) .acur-foot__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.acur-foot__about { max-width: none; }
	.acur-foot__gates { max-width: none; }
	.acur-foot__base-in { flex-direction: column; align-items: flex-start; }
	.acur-foot__action-text b, .acur-foot__badge-text b, .acur-foot__gate-text b, .acur-foot__action-text small, .acur-foot__gate-text small, .acur-foot__badge-text small { white-space: normal; }
}
