/**
 * Footer del tema (inc/theme/footer.php). Todo bajo .sym-footer.
 * Colores del sistema de diseño (amarillo de marca sobre negro), tipografía Inter.
 */

.sym-footer {
	--sf-yellow: #ffc300;
	--sf-yellow-hover: #e6af00;
	--sf-bg: #111313;
	--sf-bg-2: #0a0b0b;
	--sf-text: #e9ecec;
	--sf-muted: #a7aeae;
	--sf-line: rgba(255, 255, 255, 0.1);
	background: var(--sf-bg);
	color: var(--sf-text);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.sym-footer *,
.sym-footer *::before,
.sym-footer *::after { box-sizing: border-box; }

.sym-footer ul { margin: 0; padding: 0; list-style: none; }
.sym-footer p { margin: 0; }

.sym-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.sym-footer a:focus-visible,
.sym-footer summary:focus-visible {
	outline: 2px solid var(--sf-yellow);
	outline-offset: 3px;
	border-radius: 4px;
}

.sym-footer__wrap {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}

.sym-footer__icon { flex: none; width: 20px; height: 20px; }

/* ---------- Franja de beneficios ---------- */
.sym-footer__benefits {
	background: var(--sf-yellow);
	color: #000;
}

.sym-footer .sym-footer__benefits-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding: 22px 24px;
}

.sym-footer__benefit {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.sym-footer__benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #000;
	color: var(--sf-yellow);
}

.sym-footer__benefit-icon .sym-footer__icon { width: 22px; height: 22px; }

.sym-footer__benefit strong {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.sym-footer__benefit strong + span {
	display: block;
	font-size: 13px;
	line-height: 1.35;
	opacity: 0.8;
}

/* ---------- Bloque principal ---------- */
.sym-footer__main { padding: 56px 0 40px; }

.sym-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.sym-footer__logo { display: inline-block; }

.sym-footer__logo img {
	display: block;
	width: auto;
	max-width: 180px;
	height: 56px;
	object-fit: contain;
}

.sym-footer__tagline {
	max-width: 36ch;
	margin-top: 16px;
	color: var(--sf-muted);
	font-size: 14px;
}

.sym-footer .sym-footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: 20px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--sf-yellow);
	color: #000;
	font-size: 14px;
	font-weight: 800;
}

.sym-footer .sym-footer__cta:hover { background: var(--sf-yellow-hover); color: #000; }

.sym-footer__contact {
	display: grid;
	gap: 10px;
	margin-top: 24px !important;
	font-size: 14px;
}

.sym-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--sf-muted);
}

.sym-footer__contact .sym-footer__icon { margin-top: 1px; color: var(--sf-yellow); }
.sym-footer__contact a { color: var(--sf-text); overflow-wrap: anywhere; }
.sym-footer__contact a:hover { color: var(--sf-yellow); }

.sym-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 24px !important;
}

.sym-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sym-footer__social a:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 3px var(--sf-yellow);
}

.sym-footer__social img { display: block; width: 22px; height: 22px; }

/* Columnas de enlaces */
.sym-footer__col-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	list-style: none;
	cursor: default;
}

.sym-footer__col-title::-webkit-details-marker { display: none; }
.sym-footer__col-title .sym-footer__icon { display: none; }

.sym-footer__col-title::after {
	content: "";
	display: block;
	width: 24px;
	height: 3px;
	margin-left: 10px;
	margin-right: auto;
	border-radius: 2px;
	background: var(--sf-yellow);
}

.sym-footer__links { display: grid; gap: 10px; }

.sym-footer__links a {
	display: inline-block;
	color: var(--sf-muted);
	font-size: 14px;
}

.sym-footer__links a:hover {
	color: var(--sf-yellow);
	transform: translateX(2px);
}

/* ---------- Barra inferior ---------- */
.sym-footer__bottom {
	border-top: 1px solid var(--sf-line);
	background: var(--sf-bg-2);
}

.sym-footer__bottom-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-right: 96px; /* Espacio para el botón fijo de "volver arriba". */
}

.sym-footer__legal { color: var(--sf-muted); font-size: 13px; }

.sym-footer__payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.sym-footer__payments-label {
	color: var(--sf-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sym-footer__payments ul { display: flex; flex-wrap: wrap; gap: 8px; }

/* Logos sobre fichas blancas: legibles aunque el logo sea oscuro (Nequi, Bancolombia). */
.sym-footer__payments li {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 10px;
	border-radius: 6px;
	background: #fff;
}

.sym-footer__payments img { display: block; width: auto; height: 20px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.sym-footer .sym-footer__benefits-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sym-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.sym-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Celular: columnas en acordeón ---------- */
@media (max-width: 767px) {
	.sym-footer__wrap { padding: 0 16px; }

	.sym-footer .sym-footer__benefits-list { gap: 14px 12px; padding: 18px 16px; }
	.sym-footer__benefit { gap: 10px; }
	.sym-footer__benefit-icon { width: 36px; height: 36px; }
	.sym-footer__benefit-icon .sym-footer__icon { width: 18px; height: 18px; }
	.sym-footer__benefit strong { font-size: 13px; }
	.sym-footer__benefit strong + span { font-size: 12px; }

	.sym-footer__main { padding: 36px 0 24px; }
	.sym-footer__grid { grid-template-columns: 1fr; gap: 0; }
	.sym-footer__brand { padding-bottom: 28px; }

	.sym-footer__col { border-top: 1px solid var(--sf-line); }
	.sym-footer__col:last-child { border-bottom: 1px solid var(--sf-line); }

	.sym-footer__col-title {
		min-height: 52px;
		margin: 0;
		cursor: pointer;
	}

	.sym-footer__col-title::after { display: none; }

	.sym-footer__col-title .sym-footer__icon {
		display: block;
		color: var(--sf-muted);
		transition: transform 0.2s ease;
	}

	.sym-footer__col[open] .sym-footer__col-title .sym-footer__icon { transform: rotate(180deg); }
	.sym-footer__links { padding-bottom: 18px; }
	.sym-footer__links a { padding: 4px 0; font-size: 15px; }

	.sym-footer__bottom-row { flex-direction: column-reverse; align-items: flex-start; padding-right: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.sym-footer *,
	.sym-footer *::before,
	.sym-footer *::after { transition: none !important; }
}
